Bentley–Ottmann algorithm: Difference between revisions

Content deleted Content added
Line 18:
==Data structures==
 
{{Confusing section|reason=it's not clear what internal and leaf nodes of the binary search tree represent. How are line segments compared to each other, while inserting, deleting or finding the predecessor or successor of a line segment? What exactlymakes isa line segment the predecessor and successor of aanother line segment?|small='no'}}
 
In order to efficiently maintain the intersection points of the sweep line ''L'' with the input line segments and the sequence of future events, the Bentley–Ottmann algorithm maintains two [[data structure]]s: