Abstract
We investigate how to report all k intersecting pairs among a collection of n x-monotone curve segments in the plane, using only predicates of the following forms: is an endpoint to the left of another? is an endpoint above a segment? do two segments intersect? By studying the intersection problem in an abstract setting that assumes the availability of certain "detection oracles", we obtain a near-optimal randomized algorithm that runs in O(n log n + n √k log(n2/k)) expected time. In the bichromatic case (where segments are colored red or blue with no red/red or blue/blue intersections), we find a better algorithm that runs in O((n + k) log2+k/n n) worst-case time, by modifying a known segment-tree method. Two questions of Boissonnat and Snoeyink are thus answered to within logarithmic factors.
Original language | English (US) |
---|---|
Pages (from-to) | 245-256 |
Number of pages | 12 |
Journal | Computational Geometry: Theory and Applications |
Volume | 16 |
Issue number | 4 |
DOIs | |
State | Published - Aug 2000 |
Externally published | Yes |
Keywords
- Low-degree primitives
- Randomized algorithms
- Robust computation
- Segment intersection
- Segment trees
ASJC Scopus subject areas
- Computer Science Applications
- Geometry and Topology
- Control and Optimization
- Computational Theory and Mathematics
- Computational Mathematics