Stable snap rounding

  • Authors:
  • John Hershberger

  • Affiliations:
  • Mentor Graphics Corp., 8005 SW Boeckman Road, Wilsonville, OR 97070, United States

  • Venue:
  • Computational Geometry: Theory and Applications
  • Year:
  • 2013

Quantified Score

Hi-index 0.00

Visualization

Abstract

Snap rounding is a popular method for rounding the vertices of a planar arrangement of line segments to the integer grid. It has many advantages, including minimum perturbation of the segments, preservation of the arrangement topology, and ease of implementation. However, snap rounding has one significant weakness: it is not stable (i.e., not idempotent). That is, applying snap rounding to a snap-rounded arrangement of n segments may cause additional segment perturbation, and the number of iterations of snap rounding needed to reach stability may be as large as @Q(n^2). This paper introduces stable snap rounding, a variant of snap rounding that has all of snap rounding@?s advantages and is also idempotent. In particular, stable snap rounding does not change any arrangement whose vertices are already grid points (such as those produced by stable snap rounding or standard snap rounding).