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 .[src] The visibility polygon can also be defined for visibility from a segment, or a polygon.[src] Visibility polygons are useful in robotics, video games, and in various optimization problems such as the facility location problem and the art gallery problem.[src] If the visibility region is bounded then it is a star-shaped polygon.[src] A visibility polygon is bounded if all rays shooting from the point eventually terminate in some obstacle.[src] This is the case, e.g., if the obstacles are the edges of a simple polygon and is inside the polygon.[src] In the latter case the visibility polygon may be found in linear time.[src]
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 .[src] The visibility polygon can also be defined for visibility from a segment, or a polygon.[src] Visibility polygons are useful in robotics, video games, and in various optimization problems such as the facility location problem and the art gallery problem.[src] If the visibility region is bounded then it is a star-shaped polygon.[src] A visibility polygon is bounded if all rays shooting from the point eventually terminate in some obstacle.[src] This is the case, e.g., if the obstacles are the edges of a simple polygon and is inside the polygon.[src] In the latter case the visibility polygon may be found in linear time.[src] The latter algorithm will be briefly explained here.[src] 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.[src] The stack constitutes the vertices encountered so far which are visible to p .[src] 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.[src] By the time the algorithm terminates, \mathcal{S} will consist of all the visible vertices, i.e.[src] the desired visibility polygon.[src] An efficient implementation was published in 2014.[src] ==References== ===Software=== VisiLibity: A free open source C++ library for visibility computations in planar polygonal environments.[src] visibility-polygon-js: A public domain Javascript library for computing a visibility polygon for a point among segments using the angular sweep method.[src]
23 sentences · 23 cited inline · 0 references stored
References
No reference rows published for this article.
Cite this article
MLA
"Visibility polygon." encyclopegia.org, 2026, https://encyclopegia.org/wiki/visibility-polygon. Accessed 03 December 2026.
Chicago
"Visibility polygon." encyclopegia.org. Accessed December 3, 2026. https://encyclopegia.org/wiki/visibility-polygon.
APA
encyclopegia.org. (2026). Visibility polygon. Retrieved December 3, 2026, from https://encyclopegia.org/wiki/visibility-polygon
Accessed December 3, 2026 · CC BY-SA 4.0 · citation page · JSON
Claims
| Predicate | Value | Source |
|---|---|---|
| publication date | 2014 | Wikipedia |