CS6100: Topics in Design and Analysis of Algorithms
Line Segment Intersections John Augustine
CS6100 (Even 2012): Line Segment Intersections
CS6100: Topics in Design and Analysis of Algorithms Line Segment - - PDF document
CS6100: Topics in Design and Analysis of Algorithms Line Segment Intersections John Augustine CS6100 (Even 2012): Line Segment Intersections Line Segment Intersections Scenes and maps can be approximated by sets of lines. Intersections often
CS6100 (Even 2012): Line Segment Intersections
CS6100 (Even 2012): Line Segment Intersections 1
CS6100 (Even 2012): Line Segment Intersections 2
1: {Let Q be a priority queue of event points
2: Q is initialized to the set of end points. 3: {Let L be the status of the event line also stored
4: L ← ∅ 5: {Let I be the output set of intersection points.} 6: I ← ∅. 7: while E is not empty do 8:
9:
10:
11:
12:
13:
14:
CS6100 (Even 2012): Line Segment Intersections 3
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27: end while
CS6100 (Even 2012): Line Segment Intersections 4
CS6100 (Even 2012): Line Segment Intersections 5