Skip to main content

2001 | OriginalPaper | Buchkapitel

Intersecting Red and Blue Line Segments in Optimal Time and Precision

verfasst von : Andrea Mantler, Jack Snoeyink

Erschienen in: Discrete and Computational Geometry

Verlag: Springer Berlin Heidelberg

Aktivieren Sie unsere intelligente Suche, um passende Fachinhalte oder Patente zu finden.

search-config
loading …

A common geometric problem in computer graphics and geographic information systems is to compute the arrangement of a set of n segments that can be colored red and blue so that there are no red/red or blue/blue crossings. We give a sweep algorithm that uses the minimum arithmetic precision and runs in optimal O(n log n + k) time and O(n) space to output an arrangement with k vertices, or O(n log n) time to determine k. Our initial implementation in Java can be found at http://www.cs.unc.edu/~snoeyink/demos/rbseg.

Metadaten
Titel
Intersecting Red and Blue Line Segments in Optimal Time and Precision
verfasst von
Andrea Mantler
Jack Snoeyink
Copyright-Jahr
2001
Verlag
Springer Berlin Heidelberg
DOI
https://doi.org/10.1007/3-540-47738-1_23