Weak Visibility Queries of Line Segments in Simple Polygons
Abstract
Given a simple polygon P in the plane, we present new algorithms and data structures for computing the weak visibility polygon from any query line segment in P. We build a data structure in O(n) time and O(n) space that can compute the visibility polygon for any query line segment s in O(k log n) time, where k is the size of the visibility polygon of s and n is the number of vertices of P. Alternatively, we build a data structure in O(n^3) time and O(n^3) space that can compute the visibility polygon for any query line segment in O(k + log n) time.
- Publication:
-
arXiv e-prints
- Pub Date:
- December 2012
- DOI:
- 10.48550/arXiv.1212.6039
- arXiv:
- arXiv:1212.6039
- Bibcode:
- 2012arXiv1212.6039C
- Keywords:
-
- Computer Science - Computational Geometry;
- Computer Science - Data Structures and Algorithms
- E-Print:
- 16 pages, 9 figures. A preliminary version of this paper appeared in ISAAC 2012 and we have improved results in this full version