Weak Visibility Queries of Line Segments in Simple Polygons and Polygonal Domains

preprint2013arXivOpen access

Abstract

In this paper we consider the problem of computing the weak visibility polygon of any query line segment pqpq (or WVP(pq)WVP(pq)) inside a given polygon PP. Our first non-trivial algorithm runs in simple polygons and needs O(n3log⁡n)O(n^3 \log n) time and O(n3)O(n^3) space in the preprocessing phase to report WVP(pq)WVP(pq) of any query line segment pqpq in time O(log⁡n+∣WVP(pq)∣)O(\log n + |WVP(pq)|). We also give an algorithm to compute the weak visibility polygon of a query line segment in a non-simple polygon with hh pairwise-disjoint polygonal obstacles with a total of nn vertices. Our algorithm needs O(n2log⁡n)O(n^2 \log n) time and O(n2)O(n^2) space in the preprocessing phase and computes WVP(pq)WVP(pq) in query time of O(nℏlog⁡n+k)O(n\hbar \log n + k), in which ℏ\hbar is an output sensitive parameter of at most min⁡(h,k)\min(h,k), and k=O(n2h2)k = O(n^2h^2) is the output size. This is the best query-time result on this problem so far.

Explore this paper’s authors, topics and related work.

Building this map preview

BZPEER is loading the nearby papers, people, topics and institutions for this page.

Reviews 0

Write a reviewWrite

No reviews yet.

Discussion 0

Add a commentWrite

No comments yet.