Characterizing LR-visibility polygons and related problems

Abstract A simple polygon P is said to be LR -visibility polygon if there exists two points s and t on the boundary of  P such that every point of the clockwise boundary of P from s to t (denoted as L ) is visible from some point of the counterclockwise boundary of P from s to t (denoted as R ) and vice versa. In this paper we derive properties of shortest paths in LR -visibility polygons and present a characterization of LR visibility polygons in terms of shortest paths between vertices. This characterization suggests a simple algorithm for the following recognition problem. Given a polygon P with distinguished vertices s and t , the problem is to determine whether P is a LR -visibility polygon with respect to s and t . Our algorithm for this problem checks LR -visibility by traversing shortest path trees rooted at s and t in DFS manner and it runs in linear time. Using our characterization of LR -visibility polygons, we show that the shortest path tree rooted at a vertex or a boundary point can be computed in linear time for a class of polygons which contains LR -visibility polygons as a subclass. As a result, this algorithm can be used as a procedure for computing the shortest path tree in our recognition algorithm as well as in the recognition algorithm of Das, Heffernan and Narasimhan. Our algorithm computes the shortest path tree by scanning the boundary of the given polygon and it does not require triangulation as a preprocessing step.

[1]  Sung Yong Shin,et al.  Efficient algorithms for solving diagonal visibility problems in a simple polygon , 1995, Int. J. Comput. Geom. Appl..

[2]  Paul J. Heffernan An optimal algorithm for the two-guard problem , 1996, Int. J. Comput. Geom. Appl..

[3]  Anil Maheshwari,et al.  Computing the Shortest Path Tree in a Weak Visibility Polygon , 1991, FSTTCS.

[4]  Kyung-Yong Chwa,et al.  An Algorithm for Determining Visibility of a Simple Polygon from an Internal Line Segment , 1993, J. Algorithms.

[5]  Giri Narasimhan,et al.  Finding All Weakly-Visible Chords of a Polygon in Linear Time (Extended Abstract) , 1994, SWAT.

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

[7]  D. T. Lee,et al.  Two-Guard Walkability of Simple Polygons , 1998, Int. J. Comput. Geom. Appl..

[8]  Godfried T. Toussaint,et al.  An Optimal Algorithm for Determining the Visibility of a Polygon from an Edge , 1981, IEEE Transactions on Computers.

[9]  Tetsuo Asano,et al.  Visibility in the Plane , 2000, Handbook of Computational Geometry.

[10]  Bernard Chazelle Triangulating a simple polygon in linear time , 1991, Discret. Comput. Geom..

[11]  Danny Ziyi Chen Optimally Computing the Shortest Weakly Visible Subedge of a Simple Polygon , 1993, ISAAC.

[12]  Giri Narasimhan,et al.  LR-visibility in Polygons , 1997, Comput. Geom..

[13]  Anil Maheshwari,et al.  Characterizing and Recognizing Weak Visibility Polygons , 1993, Comput. Geom..