Skip to main content
Log in

Linear-time algorithms for visibility and shortest path problems inside triangulated simple polygons

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract

Given a triangulation of a simple polygonP, we present linear-time algorithms for solving a collection of problems concerning shortest paths and visibility withinP. These problems include calculation of the collection of all shortest paths insideP from a given source vertexS to all the other vertices ofP, calculation of the subpolygon ofP consisting of points that are visible from a given segment withinP, preprocessingP for fast "ray shooting" queries, and several related problems.

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

Access this article

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

References

  1. T. Asano, Efficient algorithms for finding the visibility polygon for a polygonal region with holes, Manuscript, University of California at Berkeley.

  2. D. Avis and G. T. Toussaint, An optimal algorithm for determining the visibility of a polygon from an edge,IEEE Trans. Comput.,30 (1981), 910–914.

    Article  MathSciNet  Google Scholar 

  3. B. Chazelle, A theorem on polygon cutting with applications,Proceedings of the 23rd IEEE Symposium on Foundations of Computer Science, 1982, pp. 339–349.

  4. B. Chazelle and L. Guibas, Visibility and intersection problems in plane geometry,Proceedings of the ACM Symposium on Computational Geometry, 1985, pp. 135–146 (also submitted toDiscrete Comput. Geom.).

  5. H. Edelsbrunner, L. Guibas, and J. Stolfi, Optimal point location in monotone subdivisions, Technical Report 2, DEC/SRC, Palo Alto, CA, 1984.

  6. H. A. El Gindy, An efficient algorithm for computing the weak visibility polygon from an edge in simple polygons, Manuscript, McGill University, 1984.

  7. H. A. El Gindy, Hierarchical decomposition of polygons with applications, Ph.D. Dissertation, School of Computer Science, McGill University, 1985.

  8. H. A. El Gindy and D. Avis, A linear algorithm for computing the visibiility polygon from a point,J. Algorithms,2 (1981), 186–197.

    Article  MATH  MathSciNet  Google Scholar 

  9. S. Fisk, A short proof of Chvatal's watchman theorem,J. Combin. Theory Ser. B, 24 (1978), 374.

    Article  MathSciNet  Google Scholar 

  10. A. Fournier and D. Y. Montuno, Triangulating simple polygons and equivalent problems,ACM Trans. Graphics,3 (1984), 153–174.

    Article  MATH  Google Scholar 

  11. M. R. Garey, D. S. Johnson, F. P. Preparata, and R. E. Tarjan, Triangulating a simple polygon,Inform. Process. Lett.,7 (1978), 175–179.

    Article  MATH  MathSciNet  Google Scholar 

  12. R. L. Graham and F. F. Yao, Finding the convex hull of a simple polygon,J. Algorithms,4 (1983), 324–331.

    Article  MATH  MathSciNet  Google Scholar 

  13. D. H. Greene and D. E. Knuth,Mathematics for the Analysis of Algorithms, Birkhäuser, Boston, 1982.

  14. L. Guibas, E. McCreight, M. Plass, and J. Roberts, A new representation for linear lists,Proceedings of the Ninth ACM Symposium on Theory of Computing, 1977, pp. 49–60.

  15. L. Guibas, L. Ramshaw, and J. Stolfi, A kinetic framework for computational geometry,Proceedings of the 24th IEEE Symposium on Foundations of Computer Science, 1983, pp. 100–111.

  16. P. T. Highman, The ears of a polygon,Inform. Process. Lett.,15 (1982), 196–198.

    Article  MathSciNet  Google Scholar 

  17. S. Huddieston and K. Mehlhorn, A new data structure for representing sorted lists,Acta Inform.,17 (1982), 157–184.

    Article  MathSciNet  Google Scholar 

  18. D. Kirkpatrick, Optimal search in planar subdivisions,SIAM J. Comput.,12 (1983), 28–35.

    Article  MATH  MathSciNet  Google Scholar 

  19. D. T. Lee, Visibility of a simple polygon,Comput. Vision, Graphics Image Process.,22 (1983) 207–221.

    Article  MATH  Google Scholar 

  20. D. T. Lee and A. Lin, Computing the visibility polygon from an edge, Manuscript, Northwestern University, 1984.

  21. D. T. Lee and F. P. Preparata, Euclidean shortest paths in the presence of rectilinear battiers,Networks,14 (1984), 393–410.

    Article  MATH  MathSciNet  Google Scholar 

  22. D. McCallum and D. Avis, A linear algorithm for finding the convex hull of a simple polygon,Inform. Process. Lett.,9 (1979), 201–206.

    Article  MATH  MathSciNet  Google Scholar 

  23. K. Mehlhorn,Data Structues and Efficient Algorithms, Vol. I, Springer-Verlag: Berlin, 1984.

    Google Scholar 

  24. M. A. Peshkin and A. C. Sanderson, Reachable grasps on a polygon: the convex rope algorithm, Technical Report CMU-RI-TR-85-6, Carnegie-Mellon University, 1985. AlsoIEEE J. Robotics Automat. (1986) (to appear).

  25. F. P. Preparata and M. I. Shamos,Computational Geometry, Springer-Verlag, New York, 1985.

    Google Scholar 

  26. F. P. Preparata and K. J. Supowit, Testing a simple polygon for monotonicity,Inform. Process. Lett.,12 (1981), 161–164.

    Article  MathSciNet  Google Scholar 

  27. D. D. Sleator and R. E. Tarjan, Self-adjusting binary search trees,J. Assoc. Comput. Mach., 32 (1985), 652–686.

    MATH  MathSciNet  Google Scholar 

  28. S. Suri, Finding minimum link paths inside a simple polygon,Comput. Vision, Graphics Image Process. (1986) (to appear).

  29. R. E. Tarjan,Data Structures and Network Algorithme, CBMS-NSF Regional Conference Series in Applied Mathematics, Society for Industrial and Applied Mathemataics, Philadelphia, PA, 1983.

  30. R. E. Tarjan and C. Van Wyk, AnO(n log logn) time algorithm for triangulating simple polygons,SIAM J. Comput. (submitted).

  31. G. Toussaint, Shortest path solves edge-to-edge visibility in a polygon, Technical Report SOCS-85.19, McGill University, 1985.

Download references

Author information

Authors and Affiliations

Authors

Additional information

Communicated by Bernard Chazelle.

Work on this paper by this author has been supported by Office of Naval Research Grant N00014-82-K-0381, National Science Foundation Grant No. NSF-DCR-83-20085, and by grants from the Digital Equipment Corporation, the IBM Corporation, and from the U.S.-Israel Binational Science Foundation.

Work on this paper by this author has been supported by National Science Foundation Grant DCR-86-05962.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Guibas, L., Hershberger, J., Leven, D. et al. Linear-time algorithms for visibility and shortest path problems inside triangulated simple polygons. Algorithmica 2, 209–233 (1987). https://doi.org/10.1007/BF01840360

Download citation

  • Received:

  • Revised:

  • Issue Date:

  • DOI: https://doi.org/10.1007/BF01840360

Key words

Navigation