Skip to main content

How Reliable Are Practical Point-in-Polygon Strategies?

  • Conference paper
Algorithms - ESA 2008 (ESA 2008)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 5193))

Included in the following conference series:

Abstract

We experimentally study the reliability of geometric software for point location in simple polygons. As expected, the code we tested works very well for random query points. However, our experiments reveal that the tested code often fails for more challenging degenerate and also nearly degenerate queries.

Partially supported by DFG grant SCHI 858/1-1.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 149.00
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 189.00
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Akenine-Möller, T., Haines, E.: Real-Time Rendering, 2nd edn. AK Peters, Ltd. (2002)

    Google Scholar 

  2. Auer, T., Held, M.: Heuristics for the generation of random polygons. In: Proc. of CCCG 1996, pp. 38–44 (1996)

    Google Scholar 

  3. CGAL, Computational Geometry Algorithms Library, http://www.cgal.org

  4. Forrest, A.R.: Computational geometry in practice. In: Earnshaw, R.A. (ed.) Fundamental Algorithms for Computer Graphics. NATO ASI, vol. F17, pp. 707–724. Springer, Heidelberg (1985)

    Google Scholar 

  5. Franklin, W.R.: PNPOLY–point inclusion in polygon test, http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html

  6. Hacker, R.: Certification of algorithm 112: position of point relative to polygon. Commun. ACM 5, 606 (1962)

    Article  Google Scholar 

  7. Haines, E.: Point in polygon strategies. In: Heckbert, P. (ed.) Graphics Gems IV, pp. 24–46. Academic Press, Boston (1994), http://tog.acm.org/editors/erich/ptinpoly/

    Google Scholar 

  8. Haran, I., Halperin, D.: An experimental study of point location in general planar arrangements. In: Proc. of ALENEX 2006, pp. 16–25 (2006)

    Google Scholar 

  9. Kettner, L., Mehlhorn, K., Pion, S., Schirra, S., Yap, C.: Classroom examples of robustness problems in geometric computations. Comput. Geom. Theory Appl. 40(1), 61–78 (2008)

    MATH  MathSciNet  Google Scholar 

  10. Mehlhorn, K., Näher, S.: LEDA: A Platform for Combinatorial and Geometric Computing. Cambridge University Press, Cambridge (2000)

    Google Scholar 

  11. Nassar, A., Walden, P., Haines, E., Dickens, T., Capelli, R., Narasimhan, S., Jam, C., MacMartin, S.: Fastest point in polygon test. Ray Tracing News 5(3) (1992)

    Google Scholar 

  12. Schirra, S.: Companion pages to How reliable are practical point in polygon strategies? http://wwwisg.cs.uni-magdeburg.de/ag/pointInPolygonReliability/

  13. Shewchuk, J.R.: Adaptive precision floating-point arithmetic and fast robust geometric predicates. Discrete & Computational Geometry 18(3), 305–368 (1997)

    Article  MATH  MathSciNet  Google Scholar 

  14. Shimrat, M.: Algorithm 112: position of point relative to polygon. Commun. ACM 5, 434 (1962)

    Article  Google Scholar 

  15. Snoeyink, J.: Point location. In: Goodman, J.E., O’Rourke, J. (eds.) Handbook of Discrete and Computational Geometry, ch. 34, 2nd edn., pp. 767–786. CRC Press LLC, Boca Raton (2004)

    Google Scholar 

  16. Walker, R., Snoeyink, J.: Practical point-in-polygon tests using CSG representations of polygons. In: Goodrich, M.T., McGeoch, C.C. (eds.) ALENEX 1999. LNCS, vol. 1619, pp. 114–123. Springer, Heidelberg (1999)

    Chapter  Google Scholar 

  17. Weiler, K.: An incremental angle point in polygon test. In: Heckbert, P. (ed.) Graphics Gems IV, pp. 16–23. Academic Press, Boston (1994)

    Google Scholar 

  18. Yap, C.-K.: Towards exact geometric computation. Comput. Geom.–Theory and Appl. 7, 3–23 (1997)

    Article  MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Dan Halperin Kurt Mehlhorn

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Schirra, S. (2008). How Reliable Are Practical Point-in-Polygon Strategies?. In: Halperin, D., Mehlhorn, K. (eds) Algorithms - ESA 2008. ESA 2008. Lecture Notes in Computer Science, vol 5193. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-87744-8_62

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-87744-8_62

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-87743-1

  • Online ISBN: 978-3-540-87744-8

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics