GO-Ve01
ServicesDevelopersBooksDictionaryPapersWikidataEncyclopediaSearchBabelCareersDeck

Visibility polygon

In computational geometry, the visibility polygon or visibility region for a point in the plane among obstacles is the possibly unbounded polygonal region of all points of the plane visible from . The visibility polygon can also be defined for visibility from a segment, or a polygon. Visibility polygons are useful in robotics, video games, and in various optimization problems such as the facility location problem and the art gallery problem. If the visibility region is bounded then it is a star-shaped polygon. A visibility polygon is bounded if all rays shooting from the point eventually terminate in some obstacle. This is the case, e.g., if the obstacles are the edges of a simple polygon... Source: e01 Encyclopedia. Licence: CC BY-SA 4.0.

In computational geometry, the visibility polygon or visibility region for a point in the plane among obstacles is the possibly unbounded polygonal region of all points of the plane visible from . The visibility polygon can also be defined for visibility from a segment, or a polygon. Visibility polygons are useful in robotics, video games, and in various optimization problems such as the facility location problem and the art gallery problem. If the visibility region is bounded then it is a star-shaped polygon. A visibility polygon is bounded if all rays shooting from the point eventually terminate in some obstacle. This is the case, e.g., if the obstacles are the edges of a simple polygon and is inside the polygon. In the latter case the visibility polygon may be found in linear time. The latter algorithm will be briefly explained here. It simply walks around the boundary of the polygon \mathcal{P} , processing the vertices in the order in which they appear, while maintaining a stack of vertices \mathcal{S}=s_0, s_1,\cdots, s_t where s_t is the top of the stack. The stack constitutes the vertices encountered so far which are visible to p . If, later during the execution of the algorithm, some new vertices are encountered that obscure part of \mathcal{S} , then the obscured vertices in \mathcal{S} will be popped from the stack. By the time the algorithm terminates, \mathcal{S} will consist of all the visible vertices, i.e. the desired visibility polygon. An efficient implementation was published in 2014. ==References== ===Software=== VisiLibity: A free open source C++ library for visibility computations in planar polygonal environments. visibility-polygon-js: A public domain Javascript library for computing a visibility polygon for a point among segments using the angular sweep method.

source: e01 Encyclopedia · licence: CC BY-SA 4.0 · page · source revision

Cite this

"Visibility polygon". 1768309927. e01 Encyclopedia. CC BY-SA 4.0. https://en.wikipedia.org/w/index.php?oldid=1332727732

JSON record · API collection · BibTeX · RIS · CSL-JSON · citation policy

Save to pass ·