Definition at line 996 of file lwgeom_functions_analytic.c.
1002 POSTGIS_DEBUG(2,
"point_in_polygon called.");
1008 if ( polygon->
nrings == 0 )
return -1;
1013 POSTGIS_DEBUG(3,
"point_in_polygon: outside exterior ring.");
1018 for (i=1; i<polygon->
nrings; i++)
1023 POSTGIS_DEBUGF(3,
"point_in_polygon: within hole %d.", i);
1028 POSTGIS_DEBUGF(3,
"point_in_polygon: on edge of hole %d.", i);
char result[OUT_DOUBLE_BUFFER_SIZE]
int getPoint2d_p(const POINTARRAY *pa, uint32_t n, POINT2D *point)
static int point_in_ring(POINTARRAY *pts, const POINT2D *point)
References getPoint2d_p(), LWPOLY::nrings, LWPOINT::point, point_in_ring(), result, and LWPOLY::rings.
Referenced by pip_short_circuit().