PHP Location Polygon::contains - 1개의 예제가 발견되었습니다. 이것들은 오픈소스 프로젝트에서 추출된 PHP의 Location\Polygon::contains에 대한 실세계 최고 등급의 예제들입니다. 예제들을 평가하여 예제의 품질 향상에 도움을 줄 수 있습니다.
Determine if given point is contained inside the polygon. Uses the PNPOLY
algorithm by W. Randolph Franklin. Therfore some edge cases may not give the
expected results, e. g. if the point resides on the polygon boundary.
또한 보기:
http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html For special cases this calculation leads to wrong results:
- if the polygons spans over the longitude boundaries at 180/-180 degrees