Point Inclusion Test for Simple Polygons By the Nearest Relevant Edge

张宁宁,张树有,谭建荣
DOI: https://doi.org/10.3321/j.issn:1003-9775.2004.07.010
2004-01-01
Abstract:The relevant edge nearest to the given point is determined by projecting the point and polygon edges onto X-axis and finding the edges within whose ranges the point projection is located. Then the point and relevant edges found in the first step are projected onto Y-axis to pick out the nearest edge P iP i+1 from the given point Q. If the orientation of triangle P iP i+1 Q is the same as polygon, Q is inside the polygon. Otherwise, it is outside the polygon. Compared to Jordan curve theorem algorithm, this approach is more efficient and reliable, especially in the case of large number of polygon edges.
What problem does this paper attempt to address?