Idea: Use a Sweepline
Move a sweepline across the
line segments
At each moment of time, the
sweepline intersects a
number of segments
Just before an intersection,
the two intersecting
segments are adjacent on
the sweepline
sweepline
CS409 - Spring 2000
2