skip to main content
research-article

Snap Rounding with Restore: An Algorithm for Producing Robust Geometric Datasets

Published:15 March 2016Publication History
Skip Abstract Section

Abstract

This article presents a new algorithm called Snap Rounding with Restore (SRR), which aims to make geometric datasets robust and to increase the quality of geometric approximation and the preservation of topological structure. It is based on the well-known Snap Rounding algorithm but improves it by eliminating from the snap rounded arrangement the configurations in which the distance between a vertex and a nonincident edge is smaller than half the width of a pixel of the rounding grid. Therefore, the goal of SRR is exactly the same as the goal of another algorithm, Iterated Snap Rounding (ISR), and of its evolution, Iterated Snap Rounding with Bounded Drift (ISRBD). However, SRR produces an output with a quality of approximation that is on average better than ISRBD, under the viewpoint both of the distance from the original segments and of the conservation of their topological structure. The article also reports some cases where ISRBD, notwithstanding the bounded drift, produces strong topological modifications while SRR does not. A statistical analysis on a large collection of input datasets confirms these differences. It follows that the proposed Snap Rounding with Restore algorithm is suitable for applications that require robustness, a guaranteed geometric approximation, and a good topological approximation.

References

  1. Alberto Belussi, Sara Migliorini, Mauro Negri, and Giuseppe Pelagatti. 2012. Robustness of spatial relation evaluation in a distributed environment. In Proceedings of the 20th International Conference on Advances in Geographic Information Systems (ACM SIGSPATIAL GIS’12). ACM, 446--449. Google ScholarGoogle ScholarDigital LibraryDigital Library
  2. Jean-Daniel Boissonnat and Franco P. Preparata. 2000. Robust plane sweep for intersecting segments. SIAM Journal on Computing 29, 5 (2000), 1401--1421. Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Li Chen. 2001. Exact Geometric Computation: Theory and Applications. Ph.D. Dissertation. New York University, Department of Computer Science. Google ScholarGoogle ScholarDigital LibraryDigital Library
  4. Mark de Berg, Dan Halperin, and Mark Overmars. 2007. An intersection-sensitive algorithm for snap rounding. Computational Geometry Theory and Applications 36, 3 (2007), 159--165. Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Arno Eigenwillig, Lutz Kettner, and Nicola Wolpert. 2007. Snap rounding of bézier curves. In Proceedings of the 23rd Annual Symposium on Computational Geometry (SCG’07). ACM, 158--167. Google ScholarGoogle ScholarDigital LibraryDigital Library
  6. Steven Fortune. 1998. Vertex-rounding a three-dimensional polyhedral subdivision. In Proceedings of the 14th Annual Symposium on Computational Geometry (SCG’98). ACM, 116--125. Google ScholarGoogle ScholarDigital LibraryDigital Library
  7. Michael T. Goodrich, Leonidas J. Guibas, John Hershberger, and Paul J. Tanenbaum. 1997. Snap rounding line segments efficiently in two and three dimensions. In Proceedings of the 13th Annual Symposium on Computational Geometry (SCG’97). ACM, 284--293. Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Daniel H. Greene and F. Frances Yao. 1986. Finite-resolution computational geometry. In Proceedings of the 27th Annual Symposium on Foundations of Computer Science (SFCS’86). IEEE Computer Society, 143--152. Google ScholarGoogle ScholarDigital LibraryDigital Library
  9. Leonidas J. Guibas and David H. Marimont. 1995. Rounding arrangements dynamically. In Proceedings of the 11th Annual Symposium on Computational Geometry (SCG’95). ACM, 190--199. Google ScholarGoogle ScholarDigital LibraryDigital Library
  10. Dan Halperin. 2010. Controlled perturbation for certified geometric computing with fixed-precision arithmetic. In Proceedings of the 3rd International Congress Conference on Mathematical Software (ICMS’10). Springer-Verlag, 92--95. Google ScholarGoogle ScholarDigital LibraryDigital Library
  11. Dan Halperin and Eli Packer. 2002. Iterated snap rounding. Computational Geometry Theory and Applications 23, 2 (2002), 209--225. Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Dan Halperin and Christian R. Shelton. 1998. A perturbation scheme for spherical arrangements with application to molecular modeling. Computational Geometry: Theory and Applications 10, 4 (1998), 273--288. Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. John Hershberger. 2011. Stable snap rounding. In Proceedings of the 27th Annual Symposium on Computational Geometry (SoCG’11). ACM, New York, NY, 197--206. Google ScholarGoogle ScholarDigital LibraryDigital Library
  14. John D. Hobby. 1993. Practical Segment Intersection with Finite Precision Output. Retrieved from http://ect.bell-labs.com/who/hobby/93_2-27.pdf.Google ScholarGoogle Scholar
  15. John D. Hobby. 1999. Practical segment intersection with finite precision output. Computational Geometry Theory and Applications 13, 4 (1999), 199--214. Google ScholarGoogle ScholarDigital LibraryDigital Library
  16. OGC 2011. OpenGIS Implementation Standard for Geographic Information -- Simple Feature Access -- Part 1: Common Architecture. OGC. Version 1.2.1.Google ScholarGoogle Scholar
  17. Eli Packer. 2008. Iterated snap rounding with bounded drift. Computational Geometry 40, 3 (2008), 231--251. DOI:http://dx.doi.org/10.1016/j.comgeo.2007.09.002 Google ScholarGoogle ScholarDigital LibraryDigital Library
  18. Eli Packer. 2011. Controlled perturbation of sets of line segments in R2 with smart processing order. Computational Geometry: Theory and Applications 44, 5 (2011), 265--285. Google ScholarGoogle ScholarDigital LibraryDigital Library
  19. Rod Thompson and Peter van Oosterom. 2006. Interchange of spatial data-inhibiting factors. In Proceedings of the 9th AGILE International Conference on Geographic Information Science.Google ScholarGoogle Scholar

Index Terms

  1. Snap Rounding with Restore: An Algorithm for Producing Robust Geometric Datasets

    Recommendations

    Comments

    Login options

    Check if you have access through your login credentials or your institution to get full access on this article.

    Sign in

    Full Access

    • Published in

      cover image ACM Transactions on Spatial Algorithms and Systems
      ACM Transactions on Spatial Algorithms and Systems  Volume 2, Issue 1
      April 2016
      150 pages
      ISSN:2374-0353
      EISSN:2374-0361
      DOI:10.1145/2903758
      • Editor:
      • Hanan Samet
      Issue’s Table of Contents

      Copyright © 2016 ACM

      Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

      Publisher

      Association for Computing Machinery

      New York, NY, United States

      Publication History

      • Published: 15 March 2016
      • Accepted: 1 July 2015
      • Revised: 1 December 2014
      • Received: 1 March 2014
      Published in tsas Volume 2, Issue 1

      Permissions

      Request permissions about this article.

      Request Permissions

      Check for updates

      Qualifiers

      • research-article
      • Research
      • Refereed

    PDF Format

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader