An Optimal Algorithm for Computing the Visibility Area of a Polygon from a Point Using Constant-Memory

03/27/2018
by   Hamid Hoorfar, et al.
0

Given a simple polygon P of n vertices in the Plane. We study the problem of computing the visibility polygon from a given viewpoint q in P where only O(1) workspace is available. The problem was previously solved in O(cn) time, where c denotes the number of critical vertices for q which are the vertices of P where the visibility region changes. In another research, the visibility area of a point be computed in O(nr) time, where r denotes the cardinality of reflex vertices of P in the output. In this paper, we present an optimal algorithm of O(n) time, and O(1) space for computing visibility area. In the constant-memory model, so, we improve time-complexity of previous works such that it just depends on n . Actually, we provide a linear-time, constant-space, strict in-place and 2-pass algorithm for computing visibility area of a point inside a simple polygon, set of non-crossed line-segments and set of non-intersected simple polygons.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/27/2018

A New Optimal Algorithm for Computing the Visibility Area of a simple Polygon from a Viewpoint

Given a simple polygon P of n vertices in the Plane. We study the pr...
research
08/16/2021

The Visibility Center of a Simple Polygon

We introduce the visibility center of a set of points inside a polygon –...
research
01/19/2021

Local Complexity of Polygons

Many problems in Discrete and Computational Geometry deal with simple po...
research
08/29/2022

Trajectory Range Visibility

Consider two entities with constant but not necessarily equal velocities...
research
10/21/1999

Finite-resolution hidden surface removal

We propose a hybrid image-space/object-space solution to the classical h...
research
03/11/2021

Terrain prickliness: theoretical grounds for low complexity viewsheds

An important task when working with terrain models is computing viewshed...
research
07/16/2020

Shortest Watchman Tours in Simple Polygons under Rotated Monotone Visibility

We present an O(nrG) time algorithm for computing and maintaining a mini...

Please sign up or login with your details

Forgot password? Click here to reset