Definition at line 140 of file lwgeom_itree.c.
141{
143 {
145 }
147 {
148 bool found_completely_inside = false;
150 for (uint32_t i = 0; i < mpoint->
ngeoms; i++)
151 {
154
156 continue;
157
158
159
160
161
162
164
166 found_completely_inside = true;
167
169 return false;
170 }
171 return found_completely_inside;
172 }
173 else
174 {
175 elog(ERROR, "%s got a non-point input", __func__);
176 return false;
177 }
178}
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_INSIDE, 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 contains(), and within().