A new algorithm for computing Boolean operations on polygons

Journal Article 2009

Authors: Francisco Martínez, Antonio Rueda, Francisco Feito

Computers \& GeosciencesVolume 35Pages 1177-1185

Cite this publication

Martínez, F., Rueda, A. J., & Feito, F. R. (2009). A new algorithm for computing Boolean operations on polygons. Computers \& Geosciences, 35, 1177-1185. https://doi.org/10.1016/j.cageo.2008.08.009
BibTeX

Abstract

This paper presents a new algorithm for computing Boolean operations on polygons. These kind of operations are frequently used in the geosciences in order to get spatial information from spatial data modeled as polygons. The presented algorithm is simple and easy to understand and implement. Let n be the total number of edges of all the polygons involved in a Boolean operation and k be the number of intersections of all the polygon edges. Our algorithm computes the Boolean operation in time O((n+k)log(n)). Finally, the proposed algorithm works with concave polygons with holes, and with regions composed of polygon sets. Furthermore, it can be easily adapted to work with self-intersecting polygons.

Keywords

Details

ISSN Number
0098-3004