ON THE COMPLEXITY OF POINT-IN-POLYGON ALGORITHMS

Authors
Citation
Cw. Huang et Ty. Shih, ON THE COMPLEXITY OF POINT-IN-POLYGON ALGORITHMS, Computers & geosciences, 23(1), 1997, pp. 109-118
Citations number
10
Categorie Soggetti
Mathematical Method, Physical Science","Geosciences, Interdisciplinary","Computer Science Interdisciplinary Applications
Journal title
ISSN journal
00983004
Volume
23
Issue
1
Year of publication
1997
Pages
109 - 118
Database
ISI
SICI code
0098-3004(1997)23:1<109:OTCOPA>2.0.ZU;2-O
Abstract
Point-in-polygon is one of the fundamental operations of Geographic In formation Systems. A number of algorithms can be applied. Different al gorithms lead to different running efficiencies. In the study, the com plexities of eight point-in-polygon algorithms were analyzed. General and specific examples are studied. In the general example, an unlimite d number of nodes are assumed; whereas in the second example, eight no des are specified. For convex polygons, the sum of area method, the si gn of offset method, and the orientation method is well suited for a s ingle point query. For possibly concave polygons, the ray intersection method and the swath method should be selected. For eight node polygo ns, the ray intersection method with bounding rectangles is faster. (C ) 1997 Elsevier Science Ltd.