Fast shortest distance between two line segments (in N dimensions)

Versión 1.0.0.0 (2,35 KB) por Ondrej
Shortest distance between two line segments in N dimensions
569 Descargas
Actualizado 2 feb 2015

Ver licencia

This function implements the fast algorithm proposed in Vladimir J. LUMELSKY, "On fast computation of distance between line segments," Information Processing Letters 21 (1985) 55-61. for computing the shortest distance between two line segments.
It handles all degenerate cases as well (when the lines are parallel, one line is a point, both lines are points).

Optionally, the function can return the closest two points on the line segments.

Citar como

Ondrej (2026). Fast shortest distance between two line segments (in N dimensions) (https://la.mathworks.com/matlabcentral/fileexchange/49502-fast-shortest-distance-between-two-line-segments-in-n-dimensions), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R2009b
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Computational Geometry en Help Center y MATLAB Answers.
Agradecimientos

Inspirado por: Shortest distance between two line segments

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0