Definition at line 931 of file lwgeom_functions_analytic.c.
933 int i, p,
r, in_ring;
937 POSTGIS_DEBUGF(2,
"point_in_multipolygon_rtree called for %p %d %p.", root, polyCount, point);
948 for ( p = 0; p < polyCount; p++ )
951 if( ringCounts[p] == 0 )
continue;
954 POSTGIS_DEBUGF(4,
"point_in_multipolygon_rtree: exterior ring (%d), point_in_ring returned %d", p, in_ring);
957 POSTGIS_DEBUG(3,
"point_in_multipolygon_rtree: outside exterior ring.");
959 else if ( in_ring == 0 )
961 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: on edge of exterior ring %d", p);
966 for(
r=1;
r<ringCounts[p];
r++)
969 POSTGIS_DEBUGF(4,
"point_in_multipolygon_rtree: interior ring (%d), point_in_ring returned %d",
r, in_ring);
972 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: within hole %d of exterior ring %d",
r, p);
978 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)
int lwpoint_is_empty(const LWPOINT *point)
static int point_in_ring_rtree(RTREE_NODE *root, const POINT2D *point)
References getPoint2d_p(), lwpoint_is_empty(), LWPOINT::point, point_in_ring_rtree(), and r.
Referenced by pip_short_circuit().