An approximate arrangement algorithm for semi-algebraic curves

Victor Milenkovic, Elisha Sacks

Research output: Contribution to journalArticlepeer-review

8 Scopus citations


We present an arrangement algorithm for plane curves. The inputs are (1) continuous, compact, x-monotone curves and (2) a module that computes approximate crossing points of these curves. There are no general position requirements. We assume that the crossing module output is e accurate, but allow it to be inconsistent, meaning that three curves are in cyclic y order over an x interval. The curves are swept with a vertical line using the crossing module to compute and process sweep events. When the sweep detects an inconsistency, the algorithm breaks the cycle to obtain a linear order. We prove correctness in a realistic computational model of the crossing module. The number of vertices in the output is V = 2n + N +min(3kn, n2/2) and the running time is O(V log n) for n curves with N crossings and k inconsistencies. The output arrangement is realizable by curves that are O(ε + fene) close to the input curves, except in knε. neighborhoods of the curve tails. The accuracy can be guaranteed everywhere by adding tiny horizontal extensions to the segment tails, but without the running time bound. An implementation is described for semi-algebraic curves based on a numerical equation solver. Experiments show that the extensions only slightly increase the running time and have little effect on the error. On challenging data sets, the number of inconsistencies is at most 3N, the output accuracy is close to ε, and the running time is close to that of the standard, non-robust floating point sweep.

Original languageEnglish (US)
Pages (from-to)175-198
Number of pages24
JournalInternational Journal of Computational Geometry and Applications
Issue number2
StatePublished - Apr 2007


  • Arrangements
  • Robust computational geometry

ASJC Scopus subject areas

  • Theoretical Computer Science
  • Geometry and Topology
  • Computational Theory and Mathematics
  • Computational Mathematics
  • Applied Mathematics


Dive into the research topics of 'An approximate arrangement algorithm for semi-algebraic curves'. Together they form a unique fingerprint.

Cite this