Plane-sweep algorithms for intersecting geometric figures
- 1 October 1982
- journal article
- Published by Association for Computing Machinery (ACM) in Communications of the ACM
- Vol. 25 (10), 739-747
- https://doi.org/10.1145/358656.358681
Abstract
Algorithms in computational geometry are of increas- ing importace in computer-aided design, for example, in the layout of integrated circuits. The efficient computa- tion of the intersection of several superimposed figures is a basic problem. We consider plane figures defined by points connected by straight line segments, for example, polygons (not necessarily simple) and maps (embedded planar graphs). The regions into which the plane is partitioned by these intersecting figures are to be pro- cessed in various ways such as listing the boundary of each region in cyclic order or sweeping the interior of each region. Let n be the total number of points of all the figures involved and s be the total number of inter- sections of all line segments. We present two plane- sweep algorithms that solve the problems above; in the general case (no convexity) in time O((n + s)log n) and space O(n + s); when the regions of each given figure are convex, the same can be achieved in time O(n log n + s) and space O(n).Keywords
This publication has 4 references indexed in Scilit:
- An Optimal Worst Case Algorithm for Reporting Intersections of RectanglesIEEE Transactions on Computers, 1980
- Algorithms for Reporting and Counting Geometric IntersectionsIEEE Transactions on Computers, 1979
- Geometric intersection problemsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,1976
- Closest-point problemsPublished by Institute of Electrical and Electronics Engineers (IEEE) ,1975