Skip to main content

Incremental Algorithms to Update Visibility Polygons

  • Conference paper
  • First Online:
Algorithms and Discrete Applied Mathematics (CALDAM 2017)

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

Included in the following conference series:

Abstract

We consider the problem of updating the visibility polygon of a point located within the given simple polygon as that polygon is modified with the incremental addition of new vertices to it. In particular, we propose the following two semi-dynamic algorithms:

  • Given a simple polygon P defined with n vertices and a point \(p \in P\), our preprocessing algorithm computes the visibility polygon of p in P and constructs relevant data structures in O(n) time; for every vertex v added to the current simple polygon, our visibility polygon updation algorithm takes \(O((k+1)\lg {n})\) time in the worst-case to update the visibility polygon of p in the new simple polygon resulted from adding v. Here, k is the change in combinatorial complexity of visibility polygon of p due to the addition of new vertex v.

  • Given a simple polygon P defined with n vertices and an edge pq of P, our preprocessing algorithm computes the weak visibility polygon of pq in P and constructs relevant data structures in O(n) time; for every vertex v added to the current simple polygon, our weak visibility updation algorithm takes \(O((k+1)\lg {n})\) time in the worst-case to update the weak visibility polygon of pq in the new simple polygon resulted from adding v. Here, k is the change in combinatorial complexity of shortest path tree rooted at p added to the change in combinatorial complexity of shortest path tree rooted at q, wherein both these changes are due to the addition of new vertex v.

R. Inkulu’s research is supported in part by NBHM grant 248(17)2014-R&D-II/1049.

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 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
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

References

  1. Aronov, B., Guibas, L.J., Teichmann, M., Zhang, L.: Visibility queries and maintenance in simple polygons. Discret. Comput. Geom. 27(4), 461–483 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  2. Asano, T., Asano, T., Guibas, L.J., Hershberger, J., Imai, H.: Visibility of disjoint polygons. Algorithmica 1(1), 49–63 (1986)

    Article  MathSciNet  MATH  Google Scholar 

  3. Bose, P., Lubiw, A., Munro, J.I.: Efficient visibility queries in simple polygons. Comput. Geom. 23(3), 313–335 (2002)

    Article  MathSciNet  MATH  Google Scholar 

  4. Chazelle, B., Guibas, L.J.: Visibility and intersection problems in plane geometry. Discret. Comput. Geom. 4, 551–581 (1989)

    Article  MathSciNet  MATH  Google Scholar 

  5. Chen, D.Z., Wang, H.: Visibility and ray shooting queries in polygonal domains. Comput. Geom. 48(2), 31–41 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  6. Chen, D.Z., Wang, H.: Weak visibility queries of line segments in simple polygons. Comput. Geom. 48(6), 443–452 (2015)

    Article  MathSciNet  MATH  Google Scholar 

  7. Davis, L.S., Benedikt, M.L.: Computational models of space: isovists and isovist fields. Comput. Graph. Image Proces. 11(1), 49–72 (1979)

    Article  Google Scholar 

  8. ElGindy, H.A., Avis, D.: A linear algorithm for computing the visibility polygon from a point. J. Algorithms 2(2), 186–197 (1981)

    Article  MathSciNet  MATH  Google Scholar 

  9. Ghosh, S.K.: Computing the visibility polygon from a convex set and related problems. J. Algorithms 12(1), 75–95 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  10. Ghosh, S.K.: Visibility Algorithms in the Plane. Cambridge University Press, New York (2007)

    Book  MATH  Google Scholar 

  11. Ghosh, S.K., Mount, D.M.: An output-sensitive algorithm for computing visibility graphs. SIAM J. Comput. 20(5), 888–910 (1991)

    Article  MathSciNet  MATH  Google Scholar 

  12. Guibas, L.J., Hershberger, J., Leven, D., Sharir, M., Tarjan, R.E.: Linear-time algorithms for visibility and shortest path problems inside triangulated simple polygons. Algorithmica 2, 209–233 (1987)

    Article  MathSciNet  MATH  Google Scholar 

  13. Guibas, L.J., Motwani, R., Raghavan, P.: The robot localization problem. SIAM J. Comput. 26(4), 1120–1138 (1997)

    Article  MathSciNet  MATH  Google Scholar 

  14. Heffernan, P.J., Mitchell, J.S.B.: An optimal algorithm for computing visibility in the plane. SIAM J. Comput. 24(1), 184–201 (1995)

    Article  MathSciNet  MATH  Google Scholar 

  15. Inkulu, R., Kapoor, S.: Visibility queries in a polygonal region. Comput. Geom. 42(9), 852–864 (2009)

    Article  MathSciNet  MATH  Google Scholar 

  16. Joe, B., Simpson, R.: Corrections to Lee’s visibility polygon algorithm. BIT Numer. Math. 27(4), 458–473 (1987)

    Article  MATH  Google Scholar 

  17. Kapoor, S., Singh, T.: Dynamic maintenance of shortest path trees in simple polygons. In: Chandru, V., Vinay, V. (eds.) FSTTCS 1996. LNCS, vol. 1180, pp. 123–134. Springer, Heidelberg (1996). doi:10.1007/3-540-62034-6_43

    Chapter  Google Scholar 

  18. Lee, D.T.: Visibility of a simple polygon. Comput. Vis. Graph. Image Proces. 22(2), 207–221 (1983)

    Article  MATH  Google Scholar 

  19. Lee, D.T., Lin, A.K.: Computing the visibility polygon from an edge. Comput. Vis. Graph. Image Proces. 34(1), 1–19 (1986)

    Article  MATH  Google Scholar 

  20. O’Rourke, J.: Art Gallery Theorems and Algorithms. Oxford University Press Inc., New York (1987)

    MATH  Google Scholar 

  21. Suri, S., O’Rourke, J.: Worst-case optimal algorithms for constructing visibility polygons with holes. In: Proceedings of the Symposium on Computational Geometry, pp. 14–23 (1986)

    Google Scholar 

  22. Tarjan, R.E.: Data Structures and Network Algorithms. Society for Industrial and Applied Mathematics, Philadelphia (1983)

    Book  MATH  Google Scholar 

  23. Vegter, G.: The visibility diagram: a data structure for visibility problems and motion planning. In: Proceedings of Scandinavian Workshop on Algorithm Theory, pp. 97–110 (1990)

    Google Scholar 

  24. Zarei, A., Ghodsi, M.: Efficient computation of query point visibility in polygons with holes. In: Proceedings of the Symposium on Computational Geometry, Pisa, Italy, 6–8 June 2005, pp. 314–320 (2005)

    Google Scholar 

Download references

Acknowledgements

The authors wish to acknowledge the anonymous reviewer for the valuable comments which has improved the quality of the paper.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to R. Inkulu .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2017 Springer International Publishing AG

About this paper

Cite this paper

Inkulu, R., Thakur, N.P. (2017). Incremental Algorithms to Update Visibility Polygons. In: Gaur, D., Narayanaswamy, N. (eds) Algorithms and Discrete Applied Mathematics. CALDAM 2017. Lecture Notes in Computer Science(), vol 10156. Springer, Cham. https://doi.org/10.1007/978-3-319-53007-9_19

Download citation

  • DOI: https://doi.org/10.1007/978-3-319-53007-9_19

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-319-53006-2

  • Online ISBN: 978-3-319-53007-9

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics