Definition at line 918 of file lwgeom_functions_analytic.c.
References getPoint2d_p(), LWPOINT::point, point_in_ring_rtree(), and r.
Referenced by pip_short_circuit().
920 int i, p,
r, in_ring;
924 POSTGIS_DEBUGF(2,
"point_in_multipolygon_rtree called for %p %d %p.", root, polyCount, point);
932 for ( p = 0; p < polyCount; p++ )
935 POSTGIS_DEBUGF(4,
"point_in_multipolygon_rtree: exterior ring (%d), point_in_ring returned %d", p, in_ring);
938 POSTGIS_DEBUG(3,
"point_in_multipolygon_rtree: outside exterior ring.");
940 else if ( in_ring == 0 )
942 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: on edge of exterior ring %d", p);
947 for(r=1; r<ringCounts[p]; r++)
950 POSTGIS_DEBUGF(4,
"point_in_multipolygon_rtree: interior ring (%d), point_in_ring returned %d", r, in_ring);
953 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: within hole %d of exterior ring %d", r, p);
959 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: on edge of hole %d of exterior ring %d", r, p);
static int point_in_ring_rtree(RTREE_NODE *root, const POINT2D *point)
int getPoint2d_p(const POINTARRAY *pa, int n, POINT2D *point)