Multiple line segment intersection
In computational geometry, the multiple line segment intersection problem supplies a list of line segments in the Euclidean plane and asks whether any two of them intersect (cross). Simple algorithms examine each pair of segments. However, if a large number of possibly intersecting segments are to be checked, this becomes increasingly inefficient since most pairs of segments are not close to one another in a typical input sequence. The most common, and more efficient, way to solve this problem for a high number of segments is to use a sweep line algorithm, where we imagine a line sliding across the line segments and we track which line segments it intersects at each point in time using a dynamic data structure based on binary search trees. The Shamos–Hoey algorithm applies this principle to solve the line segment intersection detection problem, as stated above, of determining whether or not a set of line segments has an intersection; the Bentley–Ottmann algorithm works by the same principle to list all intersections in logarithmic time per intersection.
In computational geometry, the multiple line segment intersection problem supplies a list of line segments in the Euclidean plane and asks whether any two of them intersect (cross). Simple algorithms examine each pair of segments. However, if a large number of possibly intersecting segments are to be checked, this becomes increasingly inefficient since most pairs of segments are not close to one another in a typical input sequence. The most common, and more efficient, way to solve this problem for a high number of segments is to use a sweep line algorithm, where we imagine a line sliding across the line segments and we track which line segments it intersects at each point in time using a dynamic data structure based on binary search trees. The Shamos–Hoey algorithm applies this principle to solve the line segment intersection detection problem, as stated above, of determining whether or not a set of line segments has an intersection; the Bentley–Ottmann algorithm works by the same principle to list all intersections in logarithmic time per intersection.
References
- 17th Annual Symposium on Foundations of Computer Science (sfcs 1976) · retrieved 2026-11-19 · rev 1278568472
Cite this reference
MLA "17th Annual Symposium on Foundations of Computer Science (sfcs 1976)." Shamos, M. 2026-11-19. http://euro.ecom.cmu.edu/people/faculty/mshamos/1976GeometricIntersection.pdf. Accessed 24 November 2026.
Chicago "17th Annual Symposium on Foundations of Computer Science (sfcs 1976)." Shamos, M. 2026-11-19. http://euro.ecom.cmu.edu/people/faculty/mshamos/1976GeometricIntersection.pdf.
APA Shamos, M. (2026). 17th Annual Symposium on Foundations of Computer Science (sfcs 1976). Retrieved November 24, 2026, from http://euro.ecom.cmu.edu/people/faculty/mshamos/1976GeometricIntersection.pdf
Cite this article
MLA
"Multiple line segment intersection." encyclopegia.org, 2025, https://encyclopegia.org/wiki/multiple-line-segment-intersection. Accessed 24 November 2026.
Chicago
"Multiple line segment intersection." encyclopegia.org. Accessed November 24, 2026. https://encyclopegia.org/wiki/multiple-line-segment-intersection.
APA
encyclopegia.org. (2025). Multiple line segment intersection. Retrieved November 24, 2026, from https://encyclopegia.org/wiki/multiple-line-segment-intersection
Accessed November 24, 2026 · CC BY-SA 4.0 · citation page · JSON