Definition at line 217 of file lwgeom_itree.c.
218{
220 {
222 }
224 {
226 for (uint32_t i = 0; i < mpoint->
ngeoms; i++)
227 {
229
231 continue;
232
234 return true;
235 }
236 return false;
237 }
238 else
239 {
240 elog(ERROR, "%s got a non-point input", __func__);
241 return false;
242 }
243}
IntervalTreeResult itree_point_in_multipolygon(const IntervalTree *itree, const LWPOINT *point)
#define POINTTYPE
LWTYPE numbers, used internally by PostGIS.
LWMPOINT * lwgeom_as_lwmpoint(const LWGEOM *lwgeom)
int lwpoint_is_empty(const LWPOINT *point)
static uint32_t lwgeom_get_type(const LWGEOM *geom)
Return LWTYPE number.
static LWPOINT * lwgeom_as_lwpoint(const LWGEOM *lwgeom)
References LWMPOINT::geoms, ITREE_OUTSIDE, itree_point_in_multipolygon(), lwgeom_as_lwmpoint(), lwgeom_as_lwpoint(), lwgeom_get_type(), lwpoint_is_empty(), MULTIPOINTTYPE, LWMPOINT::ngeoms, and POINTTYPE.
Referenced by ST_Intersects().