|
TR-379-92
The New Jersey Line-Segment-Saw Massacre (Companion to Video) |
|
| Authors: | Tal, Ayellet, Chazelle, Bernard, Dobkin, David P. |
| Date: | July 1992 |
| Pages: | 1 |
| Download Formats: | [Postscript] |
This videotape shows a line segment intersection algorithm in action and illustrates its most important features. The algorithm, due to Chazelle and Edelsbrunner [CE], has an optimal running time of O(n log n + k), where n is the number of line segments and k is the number of pairwise intersections. As in the classical Bentley-Ottmann method [BO], the algorithm operates in a sweepline fashion by scanning the segments from left to right, and maintaining the vertical visibility map of the region swept along the way. Two important differences are that (i) the schedule includes only the endpoints of the segments and not the intersection points, and (ii) the cross section along the sweepline is maintained in a lazy fashion, meaning that the nodes of the tree representing the cross section might correspond to segments stranded behind past the sweepline. Also, the loop invariant for the sweepline is not simply that the portion of the map left of it should be maintained but also that the map associated with all the segments intersecting the sweepline be available as well. Segments are cut up into smaller pieces in preprocessing, so as to enforce a normalization condition related to the schedule of insertions. Production Notes: The animation comes from a system currently being developed at Princeton by Ayellet Tal and David Dobkin. This system is intended to ease the interface between geometric code and the graphics device. It is built on top of Cheyenne, a device independent graphics library developed by David Dobkin and Eleftheros Koutsofios. The program runs on Sun and Silicon Graphics IRIS workstation. Recording was done at the Interactive Computer Graphics Lab at Princeton and editing was done with the assistance of the Princeton Department of Media Services. |
|