Incremental Algorithms to Update Visibility Polygons

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.

[1]  Leonidas J. Guibas,et al.  Visibility Queries and Maintenance in Simple Polygons , 2002, Discret. Comput. Geom..

[2]  Haitao Wang,et al.  Weak visibility queries of line segments in simple polygons , 2015, Comput. Geom..

[3]  David Avis,et al.  A Linear Algorithm for Computing the Visibility Polygon from a Point , 1981, J. Algorithms.

[4]  Leonidas J. Guibas,et al.  Visibility of disjoint polygons , 2005, Algorithmica.

[5]  Sanjiv Kapoor,et al.  Visibility queries in a polygonal region , 2009, Comput. Geom..

[6]  David M. Mount,et al.  An output sensitive algorithm for computing visibility graphs , 1987, 28th Annual Symposium on Foundations of Computer Science (sfcs 1987).

[7]  Subir Kumar Ghosh,et al.  Visibility Algorithms in the Plane , 2007 .

[8]  Mohammad Ghodsi,et al.  Efficient computation of query point visibility in polygons with holes , 2005, SCG.

[9]  Subir Kumar Ghosh Computing the Visibility Polygon from a Convex Set and Related Problems , 1991, J. Algorithms.

[10]  B. Joe,et al.  Corrections to Lee's visibility polygon algorithm , 1987, BIT.

[11]  Leonidas J. Guibas,et al.  The Robot Localization Problem , 1995, SIAM J. Comput..

[12]  Haitao Wang,et al.  Visibility and ray shooting queries in polygonal domains , 2015, Comput. Geom..

[13]  Leonidas J. Guibas,et al.  Visibility and intersection problems in plane geometry , 1989, Discret. Comput. Geom..

[14]  Prosenjit Bose,et al.  Efficient visibility queries in simple polygons , 2002, Comput. Geom..

[15]  D. T. Lee,et al.  Computing the visibility polygon from an edge , 1986, Comput. Vis. Graph. Image Process..

[16]  Joseph S. B. Mitchell,et al.  An Optimal Algorithm for Computing Visibility in the Plane , 1995, SIAM J. Comput..

[17]  D. T. Lee,et al.  Visibility of a simple polygon , 1983, Comput. Vis. Graph. Image Process..

[18]  Joseph O'Rourke,et al.  Worst-case optimal algorithms for constructing visibility polygons with holes , 1986, SCG '86.

[19]  Leonidas J. Guibas,et al.  Linear-time algorithms for visibility and shortest path problems inside triangulated simple polygons , 1987, Algorithmica.

[20]  Larry S. Davis,et al.  Computational Models of Space: Isovists and Isovist Fields , 1979 .

[21]  Gert Vegter,et al.  The Visibility Diagram: a Data Structure for Visibility Problems and Motion Planning , 1990, Scandinavian Workshop on Algorithm Theory.

[22]  Sanjiv Kapoor,et al.  Dynamic Maintenance of Shortest Path Trees in Simple Polygons , 1996, FSTTCS.