Computational geometry: an introduction
Computational geometry: an introduction
Graphics gems IV
On the complexity of point-in-polygon algorithms
Computers & Geosciences
The point in polygon problem for arbitrary polygons
Computational Geometry: Theory and Applications
Technical Section: Point-in-polygon tests by convex decomposition
Computers and Graphics
Technical section: 2D point-in-polygon test by classifying edges into layers
Computers and Graphics
Parallel scanline algorithm for rapid rasterization of vector geographic data
Computers & Geosciences
Hi-index | 0.00 |
The point-in-polygon or containment test is fundamental in computational geometry and is applied intensively in geographical information systems. When this test is repeated several times with the same polygon a data structure is necessary in order to reduce the linear time needed to obtain an inclusion result. In the literature different approaches, like grids or quadtrees, have been proposed for reducing the complexity of these algorithms. We propose a new data structure based on hierarchical subdivisions by means of tri-cones, which reduces the time necessary for this inclusion test. This data structure, named tri-tree, decomposes the whole space by means of tri-cones and classifies the edges of the polygon. For the inclusion test only the edges classified in one tri-cone are considered. The tri-tree has a set of properties which makes it specially suited to this aim, with a similar complexity to other data structures, but well suited to polygons which represent regions. We include a theoretical and practical study in which the new data structure is compared with classical ones, showing a significant improvement.