Definition at line 891 of file lwgeom_functions_analytic.c.
893 int i, p,
r, in_ring;
897 POSTGIS_DEBUGF(2,
"point_in_multipolygon_rtree called for %p %d %p.", root, polyCount, point);
905 for ( p = 0; p < polyCount; p++ )
908 POSTGIS_DEBUGF(4,
"point_in_multipolygon_rtree: exterior ring (%d), point_in_ring returned %d", p, in_ring);
911 POSTGIS_DEBUG(3,
"point_in_multipolygon_rtree: outside exterior ring.");
913 else if ( in_ring == 0 )
915 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: on edge of exterior ring %d", p);
920 for(
r=1;
r<ringCounts[p];
r++)
923 POSTGIS_DEBUGF(4,
"point_in_multipolygon_rtree: interior ring (%d), point_in_ring returned %d",
r, in_ring);
926 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: within hole %d of exterior ring %d",
r, p);
932 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: on edge of hole %d of exterior ring %d",
r, p);
int getPoint2d_p(const POINTARRAY *pa, uint32_t n, POINT2D *point)
static int point_in_ring_rtree(RTREE_NODE *root, const POINT2D *point)
References getPoint2d_p(), LWPOINT::point, point_in_ring_rtree(), and r.
Referenced by pip_short_circuit().