# An optimal algorithm for intersecting line segments in the plane

@article{Chazelle1992AnOA, title={An optimal algorithm for intersecting line segments in the plane}, author={Bernard Chazelle and Herbert Edelsbrunner}, journal={J. ACM}, year={1992}, volume={39}, pages={1-54} }

The main contribution of this work is an <italic>O</italic>(<italic>n</italic> log <italic>n</italic> + <italic>k</italic>)-time algorithm for computing all <italic>k</italic> intersections among <italic>n</italic> line segments in the plane. This time complexity is easily shown to be optimal. Within the same asymptotic cost, our algorithm can also construct the subdivision of the plane defined by the segments and compute which segment (if any) lies right above (or below) each intersection and…

## Figures from this paper

## 400 Citations

The Complexity of Sensing by Point

- Computer Science
- 2007

This paper considers the problem of nding the minimum number of sensing points required to distinguish between a-nite set of polygonal shapes, and shows that this problem is equivalent to an NP-complete set-theoretic problem introduced as Discriminating Set.

5 Conclusions and Open Problems 4.4 an Algorithm with Subquadratic Overhead

- Computer Science, Mathematics
- 2007

Borders on the maximum combinatorial complexity of the vertical decomposition of sets of triangles in 3-space that are sensitive to the complexity ofThe arrangement of triangles are proved and a simple deterministic output-sensitive algorithm is given for computing the Vertical decomposition and extended to handle surface patches.

Packing [1, Δ]-factors in graphs of small degree

- MathematicsJ. Comb. Optim.
- 2007

The problem of deciding whether a graph admits a [1,Δ]-factor k-packing is shown to be solvable in linear time for k = 2, but NP-complete for all k≥ 3, and the optimisation problem of minimising the total number of edges of the subgraphs of the packing is NP-hard even when restricted to subcubic planar graphs.

Randomized Algorithms for Minimum Distance Localization

- Computer ScienceInt. J. Robotics Res.
- 2007

Two randomized approximation algorithms are presented that solve minimum distance localization in environments that may contain self-similarities and the performance of the proposed algorithms is evaluated empirically.

Randomized incremental constructions of three-dimensional convex hulls and planar voronoi diagrams, and approximate range counting

- Computer ScienceSODA '06
- 2006

The technique reduces the approximate range counting problem to that of finding the minimum rank of a data object in the range, with respect to a <i>random</i> permutation of the input.

Finding the Shortest Watchman Route in a Simple Polygon

- Computer ScienceDiscret. Comput. Geom.
- 1999

The first polynomial time algorithm that finds the shortest route in a simple polygon such that all points of the polygon are visible from the route is presented, called the shortest watchman route.

Computing faces in segment and simplex arrangements (Preliminary Version).

- Computer ScienceSTOC 1995
- 1995

Further Comparison of Algorithms for Geometric Intersection ProblemsD

- Computer Science, Mathematics
- 1994

The experiments show that the spatial partitioning algorithms are better for segment intersection in a GIS context, and a new Trapezoid Sweep algorithm is identified that is competitive if the segments are stored in sorted order.

Geometric and computational aspects of manufacturing processes

- Materials ScienceComput. Graph.
- 1994

## References

SHOWING 1-10 OF 36 REFERENCES

Lower bounds for algebraic computation trees

- Computer Science, MathematicsSTOC
- 1983

All the apparently known lower bounds for linear decision trees are extended to bounded degree algebraic decision trees, thus answering the open questions raised by Steele and Yao [20].

Journal of the Aswmaatm for Computmg Machm.ry. Vd

- Journal of the Aswmaatm for Computmg Machm.ry. Vd
- 1990

A Functional Approach to Data Structures and Its Use in Multidimensional Searching

- Computer ScienceSIAM J. Comput.
- 1988

These results include, in particular, linear-size data structures for range and rectangle counting in two dimensions with logarithmic query time and a redefinition of data structures in terms of functional specifications.

A fast planar partition algorithm. I

- Computer Science[Proceedings 1988] 29th Annual Symposium on Foundations of Computer Science
- 1988

Though the algorithm itself is simple, the global evolution of the partition is complex, which makes the analysis of the algorithm theoretically interesting in its own right.

Afastplanar partition algorithm, 1

- Proceedings of the29th Anrrual IEEE Sy)?zposiu~n on Foundatiorzs of Conzpt~ter Scierzce
- 1988

Afastplanar partition algorithm, 1

- Proceedings of the29th Anrrual IEEE Sy)?zposiu~n on Foundatiorzs of Conzpt~ter Scierzce
- 1988

Applications of random sampling in computational geometry, II

- Mathematics, Computer ScienceSCG '88
- 1988

Asymptotically tight bounds for a combinatorial quantity of interest in discrete and computational geometry, related to halfspace partitions of point sets, are given.

Reporting and Counting Intersections Between Two Sets of Line Segments

- Computer Science, Mathematics
- 1988

We consider the problem of computing all intersections between two sets S and T of line segments in the plane, where no two segments in S (similarly, T) intersect. We present an asymptotically…

Simulation of simplicity: a technique to cope with degenerate cases in geometric algorithms

- Computer ScienceSCG '88
- 1988

A general purpose programming technique, called the Simulation of Simplicity, which can be used to cope with degenerate input data for geometric algorithms, and it is believed that this technique will become a standard tool in writing geometric software.

Algorithms in Combinatorial Geometry

- MathematicsEATCS Monographs in Theoretical Computer Science
- 1987

This book offers a modern approach to computational geo- metry, an area thatstudies the computational complexity of geometric problems with an important role in this study.