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);
945 for ( p = 0; p < polyCount; p++ )
948 POSTGIS_DEBUGF(4,
"point_in_multipolygon_rtree: exterior ring (%d), point_in_ring returned %d", p, in_ring);
951 POSTGIS_DEBUG(3,
"point_in_multipolygon_rtree: outside exterior ring.");
953 else if ( in_ring == 0 )
955 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: on edge of exterior ring %d", p);
960 for(
r=1;
r<ringCounts[p];
r++)
963 POSTGIS_DEBUGF(4,
"point_in_multipolygon_rtree: interior ring (%d), point_in_ring returned %d",
r, in_ring);
966 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: within hole %d of exterior ring %d",
r, p);
972 POSTGIS_DEBUGF(3,
"point_in_multipolygon_rtree: on edge of hole %d of exterior ring %d",
r, p);
char result[OUT_DOUBLE_BUFFER_SIZE]
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(), r, and result.
Referenced by pip_short_circuit().