TY - JOUR
T1 - On the complexity of point-in-polygon algorithms
AU - Huang, Chong Wei
AU - Shih, Tian-Yuan
PY - 1997/1/1
Y1 - 1997/1/1
N2 - Point-in-polygon is one of the fundamental operations of Geographic Information Systems. A number of algorithms can be applied. Different algorithms lead to different running efficiencies. In the study, the complexities of eight point-in-polygon algorithms were analyzed. General and specific examples are studied. In the general example, an unlimited number of nodes are assumed; whereas in the second example, eight nodes are specified. For convex polygons, the sum of area method, the sign of offset method, and the orientation method is well suited for a single point query. For possibly concave polygons, the ray intersection method and the swath method should be selected. For eight node polygons, the ray intersection method with bounding rectangles is faster.
AB - Point-in-polygon is one of the fundamental operations of Geographic Information Systems. A number of algorithms can be applied. Different algorithms lead to different running efficiencies. In the study, the complexities of eight point-in-polygon algorithms were analyzed. General and specific examples are studied. In the general example, an unlimited number of nodes are assumed; whereas in the second example, eight nodes are specified. For convex polygons, the sum of area method, the sign of offset method, and the orientation method is well suited for a single point query. For possibly concave polygons, the ray intersection method and the swath method should be selected. For eight node polygons, the ray intersection method with bounding rectangles is faster.
KW - Complexity
KW - Point-in-polygon
KW - Ray intersection
KW - Sign of offset method
KW - Sum of angles method
KW - Swath method
UR - http://www.scopus.com/inward/record.url?scp=0030850247&partnerID=8YFLogxK
U2 - 10.1016/S0098-3004(96)00071-4
DO - 10.1016/S0098-3004(96)00071-4
M3 - Article
AN - SCOPUS:0030850247
SN - 0098-3004
VL - 23
SP - 109
EP - 118
JO - Computers and Geosciences
JF - Computers and Geosciences
IS - 1
ER -