We present a new line sweep algorithm, HEAPSwEEP, for reporting bichromatic ('purple') intersections between a red and a blue family of line segments. If the union of the segments in each family is connected as a point set, HEAPSWEEP reports all h purple intersections in time O((n + k)α(n) log3 n), where n is the total number of input segments and α(n) is the familiar inverse Ackermann function. To achieve these bounds, the algorithm keeps only partial information about the vertical ordering between segments of the same color, using a new data structure called a kinetic queue. In order to analyze the running time of HEAPSWEEP, we also show that a simple polygon containing a set of n line segments can be partitioned into monotone regions by lines cutting these segments Θ(n log n) times.
CITATION STYLE
Basch, J., Guibas, L. J., & Ramkumar, G. D. (1996). Reporting red-blue intersections between two sets of connected line segments. In Lecture Notes in Computer Science (including subseries Lecture Notes in Artificial Intelligence and Lecture Notes in Bioinformatics) (Vol. 1136, pp. 302–319). Springer Verlag. https://doi.org/10.1007/3-540-61680-2_64
Mendeley helps you to discover research relevant for your work.