Fast Line Segment Intersection
OUT = LINESEGMENTINTERSECT(XY1,XY2) generates intersection analysis between the line segment sets given in XY1 and XY2. Code can handle coincident and parallel lines.
The main emphasis is on speed. The code is fully vectorized and it runs pretty fast (orders of magnitude) compared to some of the previous postings.
Citar como
U. Murat Erdem (2024). Fast Line Segment Intersection (https://www.mathworks.com/matlabcentral/fileexchange/27205-fast-line-segment-intersection), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Compatibilidad con las plataformas
Windows macOS LinuxCategorías
Etiquetas
Agradecimientos
Inspirado por: Fast and Robust Curve Intersections
Inspiración para: Segments Intersection Test Functions, Detection of percolation of nanotubes (straight line)
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.