English

Computing a visibility polygon using few variables

Computational Geometry 2013-04-09 v2 Data Structures and Algorithms

Abstract

We present several algorithms for computing the visibility polygon of a simple polygon PP from a viewpoint inside the polygon, when the polygon resides in read-only memory and only few working variables can be used. The first algorithm uses a constant number of variables, and outputs the vertices of the visibility polygon in O(n\Rout)O(n\Rout) time, where \Rout\Rout denotes the number of reflex vertices of PP that are part of the output. The next two algorithms use O(log\Rin)O(\log \Rin) variables, and output the visibility polygon in O(nlog\Rin)O(n\log \Rin) randomized expected time or O(nlog2\Rin)O(n\log^2 \Rin) deterministic time, where \Rin\Rin is the number of reflex vertices of PP.

Keywords

Cite

@article{arxiv.1111.3584,
  title  = {Computing a visibility polygon using few variables},
  author = {Luis Barba and Matias Korman and Stefan Langerman and Rodrigo I. Silveira},
  journal= {arXiv preprint arXiv:1111.3584},
  year   = {2013}
}

Comments

11 pages. Full version of paper in Proceedings of ISAAC 2011

R2 v1 2026-06-21T19:36:29.750Z