calculate the distance between a 2D or 3D line and one or more points
Sie verfolgen jetzt diese Einreichung
- Aktualisierungen können Sie in Ihrem Feed verfolgter Inhalte sehen.
- Je nach Ihren Kommunikationseinstellungen können Sie auch E-Mails erhalten.
You can input either a 2D or a 3D line and 2D or 3D points. This function is an extended version of the line below, with some input checking:
distance=norm(cross(v1-v2,pt-v2))/norm(v1-v2)
Licence: CC by-nc-sa 4.0
Zitieren als
Rik (2026). point to line distance (https://github.com/thrynae/point_to_line_distance/releases/tag/1.3.2), GitHub. Abgerufen .
Allgemeine Informationen
- Version 1.3.2 (3,52 KB)
-
Lizenz auf GitHub anzeigen
Kompatibilität der MATLAB-Version
- Kompatibel mit R13SP1 und späteren Versionen
Plattform-Kompatibilität
- Windows
- macOS
- Linux
| Version | Veröffentlicht | Versionshinweise | Action |
|---|---|---|---|
| 1.3.2 | See release notes for this release on GitHub: https://github.com/thrynae/point_to_line_distance/releases/tag/1.3.2 |
||
| 1.3.1 | added tester and example file, and added logo |
||
| 1.3.0.0 | fixed issue with 2D input |
||
| 1.2.0.0 | added compatibility for R13 (MATLAB 6.5) |
||
| 1.1.0.0 | uploaded incorrect version, so now a bug in the orientation is fixed |
||
| 1.0.0.0 |
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
Um Probleme in diesem GitHub Add-On anzuzeigen oder zu melden, besuchen Sie das GitHub Repository.
