Definition at line 1046 of file lwgeom_functions_analytic.c.
1049 int result, in_ring;
1052 POSTGIS_DEBUG(2,
"point_in_polygon called.");
1062 for (j = 0; j < mpolygon->
ngeoms; j++ )
1068 if ( polygon->
nrings == 0 )
continue;
1073 POSTGIS_DEBUG(3,
"point_in_polygon: outside exterior ring.");
1083 for (i=1; i<polygon->
nrings; i++)
1088 POSTGIS_DEBUGF(3,
"point_in_polygon: within hole %d.", i);
1094 POSTGIS_DEBUGF(3,
"point_in_polygon: on edge of hole %d.", i);
int getPoint2d_p(const POINTARRAY *pa, uint32_t n, POINT2D *point)
int lwpoint_is_empty(const LWPOINT *point)
static int point_in_ring(POINTARRAY *pts, const POINT2D *point)
References LWMPOLY::geoms, getPoint2d_p(), lwpoint_is_empty(), LWMPOLY::ngeoms, LWPOLY::nrings, LWPOINT::point, point_in_ring(), and LWPOLY::rings.
Referenced by pip_short_circuit().