Fast Line Segment Intersection
版本 1.1.0.0 (3.5 KB) 作者:
U. Murat Erdem
Finds the pairwise intersection points between line segments in 2D Cartesian space.
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.
引用格式
U. Murat Erdem (2026). Fast Line Segment Intersection (https://ww2.mathworks.cn/matlabcentral/fileexchange/27205-fast-line-segment-intersection), MATLAB Central File Exchange. 检索时间: .
MATLAB 版本兼容性
创建方式
R2009b
兼容任何版本
平台兼容性
Windows macOS Linux类别
在 Help Center 和 MATLAB Answers 中查找有关 Elementary Polygons 的更多信息
标签
致谢
参考作品: Fast and Robust Curve Intersections
启发作品: Segments Intersection Test Functions, Detection of percolation of nanotubes (straight line)
