Back to search

University of British Columbia

Intersecting red and blue line segments in optimal time and precision

Abstract

dc:description

In this thesis we describe a new algorithm, SPAGHETTISWEEP, for solving the red-blue line segment intersection problem. We use a symmetric lazy sweep and at most degree two predicates. Our method is numerically robust, and handles all degeneracies in the input data. Our algorithm finds all intersecting pairs of segments in O(n log n + k) time and O(n) space, where n is the total number of segments, and k is the number of intersection points. With a small modification, we are able to count intersections in O(n log n) time and O(n) space. Using only degree two predicates, we are also able to compute the arrangement in O(n log n + k) time.

Degree

thesis:*
Name thesis:degree_name
Master of Science - MSc
Level thesis:degree_level
master's
Discipline thesis:degree_discipline
Computer Science
Grantor dc:publisher
University of British Columbia
Year dc:date
2001

Author and committee

dc:creator, dc:contributor.*
Author dc:creator
  • Mantler, Andrea

Rights

dc:rights
Statement dc:rights
  • For non-commercial purposes only, such as research, private study and education. Additional conditions apply, see Terms of Use https://open.library.ubc.ca/terms_of_use.
Language dc:language
eng

Identifiers

dc:identifier.*
Handle dc:identifier
http://hdl.handle.net/2429/11868

Chain of custody

source
Harvested from
University of British Columbia
Base URL
circle.library.ubc.ca/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
related terms
citation

Mantler, Andrea. Intersecting red and blue line segments in optimal time and precision. master's thesis, University of British Columbia, 2001. http://hdl.handle.net/2429/11868