pith. sign in

arxiv: 1111.3584 · v2 · pith:X2YAKUJXnew · submitted 2011-11-15 · 💻 cs.CG · cs.DS

Computing a visibility polygon using few variables

classification 💻 cs.CG cs.DS
keywords polygonvariablesvisibilitynumbertimeverticesalgorithmscomputing
0
0 comments X
read the original abstract

We present several algorithms for computing the visibility polygon of a simple polygon $P$ 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)$ time, where $\Rout$ denotes the number of reflex vertices of $P$ that are part of the output. The next two algorithms use $O(\log \Rin)$ variables, and output the visibility polygon in $O(n\log \Rin)$ randomized expected time or $O(n\log^2 \Rin)$ deterministic time, where $\Rin$ is the number of reflex vertices of $P$.

This paper has not been read by Pith yet.

discussion (0)

Sign in with ORCID, Apple, or X to comment. Anyone can read and Pith papers without signing in.