libsim
Versione 7.2.4
|
◆ georef_coord_inside()
Determines whether the point this lies inside the polygon poly. The polygon is forced to be closed if it is not already the case, and there is no check about the topology of poly to really be of polygon type. It works also with polygons in parts (as from shapefile specification) defining either multiple polygons or polygons with holes. The method used consists in counting the number of intersections as indicated in comp.graphics.algorithms FAQ (http://www.faqs.org/faqs/graphics/algorithms-faq/) or in http://www.ecse.rpi.edu/Homepages/wrf/Research/Short_Notes/pnpoly.html.
Definizione alla linea 1199 del file georef_coord_class.F90. |