Point to line distance
Version 2.0 (8,15 KB) von
Nicolas Douillet
Distance from a point to a line in 3D or in 2D, and coordinates of the point projected on the line. Also works for an array of points.
Please first check the examples tab (.mlx file) here on the right for a complete description.
Once downloaded, typewrite 'help point_to_line_distance' or 'doc point_to_line_distance' in Matlab console for support.
To benefit from the file documentation attached, be sure to download the file, not to just copy and paste it.
For 2D in (Oxy) plane, just padd your input data with a 0 in z dimension.
Please rate if this code helped you. Thanks ;-)
Zitieren als
Nicolas Douillet (2024). Point to line distance (https://github.com/NicolasDouillet/point_to_line_distance/releases/tag/v2.0), GitHub. Abgerufen .
Kompatibilität der MATLAB-Version
Erstellt mit
R2019b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Graphics > Graphics Objects >
Mehr zu Graphics Objects finden Sie in Help Center und MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
Version | Veröffentlicht | Versionshinweise | |
---|---|---|---|
2.0 | See release notes for this release on GitHub: https://github.com/NicolasDouillet/point_to_line_distance/releases/tag/v2.0 |
||
1.4 | Update help, doc, description |
||
1.3 | Improved input parsing, vector format, updated help, doc, description, cover img |
||
1.2 | + see also link, vocabulary line <- row |
||
1.1 | Completed summary |
||
1.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.