Definition at line 153 of file lwcompound.c.
155 int intersections = 0;
160 for (uint32_t j = 0; j < comp->
ngeoms; j++)
LWLINE * lwgeom_as_lwline(const LWGEOM *lwgeom)
LWGEOM * lwcompound_as_lwgeom(const LWCOMPOUND *obj)
const char * lwtype_name(uint8_t type)
Return the type name string associated with a type number (e.g.
LWCIRCSTRING * lwgeom_as_lwcircstring(const LWGEOM *lwgeom)
#define LW_INSIDE
Constants for point-in-polygon return values.
int ptarray_raycast_intersections(const POINTARRAY *pa, const POINT2D *p, int *on_boundary)
int ptarrayarc_raycast_intersections(const POINTARRAY *pa, const POINT2D *p, int *on_boundary)
void lwerror(const char *fmt,...)
Write a notice out to the error handler.
static int lwgeom_is_empty(const LWGEOM *geom)
Return true or false depending on whether a geometry is an "empty" geometry (no vertices members)
References CIRCSTRINGTYPE, LWCOMPOUND::geoms, LINETYPE, LW_BOUNDARY, LW_FALSE, LW_INSIDE, LW_OUTSIDE, lwcompound_as_lwgeom(), lwerror(), lwgeom_as_lwcircstring(), lwgeom_as_lwline(), lwgeom_is_empty(), lwtype_name(), LWCOMPOUND::ngeoms, LWLINE::points, LWCIRCSTRING::points, ptarray_raycast_intersections(), ptarrayarc_raycast_intersections(), and LWGEOM::type.
Referenced by lwgeom_contains_point().