Overview
Sweep Line algorithms reduce geometric problems by maintaining active objects intersecting a moving line.
Processes geometric events in sorted order as a line moves across the plane.
Compact metadata for implementation and discovery.
Sweep Line algorithms reduce geometric problems by maintaining active objects intersecting a moving line.
Quick facts
Runtime and memory behavior at a glance.
Best
O(n log n)
Average
O((n + k) log n)
Worst
O((n + k) log n)
Space
O(n)
Show a vertical line moving across events and updating active segments.
Sweep Line Algorithm operates in O((n + k) log n) time and O(n) space within the Sweep Line family. Often compared with Line Segment Intersection and Delaunay Triangulation.
What each reference supports for this entry.
Textbook support for Sweep Line Algorithm's computational geometry problem family, predicates, structures, or geometric construction.
Open sourceAlgorithm catalog support for Sweep Line Algorithm in the computational geometry benchmark area.
Open sourceGood next jumps from the relationship graph, ranked for useful discovery.
Geometry · Specialized
It is a specialized sweep-line geometry algorithm.
Compare with thisGeometry · Extended
Incremental Line Arrangement Construction uses Sweep Line Algorithm as a subroutine, representation, or supporting idea while adding lines one at a time and updating affected cells.
Compare with thisBentley-Ottmann is one sweep-line algorithm.
Sweep-line methods commonly maintain geometric intersection events.