Sweep line algorithm: Difference between revisions

Content deleted Content added
m Reverted edits by 130.88.194.33 (talk) to last version by Addbot
m minor fixes, mostly disambig links using AWB
Line 1:
[[ImageFile:Fortunes-algorithm.gif|frame|right|Animation of [[Fortune's algorithm]], a sweep line technique for constructing [[Voronoi diagram]]s.]]
 
In [[computational geometry]], a '''sweep line algorithm''' or '''plane sweep algorithm''' is a type of algorithm that uses a conceptual ''sweep line'' or ''sweep surface'' to solve various problems in [[Euclidean space]]. It is one of the key techniques in computational geometry.
Line 9:
 
==Applications==
Application of this approach led to a breakthrough in the [[Computational complexity theory|computational complexity]] of geometric algorithms when [[Michael Ian Shamos|Shamos]] and Hoey presented algorithms for [[line segment intersection]] in the plane, and in particular, they described how a combination of the scanline approach with efficient data structures ([[self-balancing binary search tree]]s) makes it possible to detect whether there are intersections among ''N'' segments in the plane in time complexity of [[Big O notation|O]](''N''&nbsp;log&nbsp;''N'').<ref>{{citation
| last1 = Shamos | first1 = Michael I. | author1-link = Michael Ian Shamos
| last2 = Hoey | first2 = Dan