Given a simple polygon with vertices, we consider the problem of constructing a data structure for visibility queries: for any query point , compute the visibility polygon of in . To obtain query time, where is the size of the visibility polygon of , the previous best result requires space. In this paper, we propose a new data structure that uses space, for any , while achieving the same query time. If only space is available, the best known result provides query time. We improve this to time. When restricted to space, the only previously known approach, aside from the -time algorithm that computes the visibility polygon without preprocessing, is an -space data structure that supports -time queries. We construct a data structure using space that answers visibility queries in time. In addition, for the special case in which lies on the boundary of , we build a data structure of space supporting query time; alternatively, we achieve query time using space. To achieve our results, we propose a new method for decomposing simple polygons, which may be of independent interest.

生成讲解博客的中文版本

生成AI智能校验的中文版本