Definition at line 516 of file effectivearea.c.
References LWCOLLECTION::flags, FLAGS_GET_M, FLAGS_GET_Z, LWCOLLECTION::geoms, lwcollection_add_lwgeom(), lwcollection_construct_empty(), lwcollection_is_empty(), LWDEBUG, lwgeom_set_effective_area(), LWCOLLECTION::ngeoms, LWCOLLECTION::srid, and LWCOLLECTION::type.
Referenced by lwgeom_set_effective_area().
518 LWDEBUG(2,
"Entered lwcollection_set_effective_area");
530 for( i = 0; i < igeom->
ngeoms; i++ )
#define LWDEBUG(level, msg)
LWGEOM * lwgeom_set_effective_area(const LWGEOM *igeom, int set_area, double trshld)
int lwcollection_is_empty(const LWCOLLECTION *col)
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
#define FLAGS_GET_M(flags)
LWCOLLECTION * lwcollection_construct_empty(uint8_t type, int srid, char hasz, char hasm)
LWCOLLECTION * lwcollection_add_lwgeom(LWCOLLECTION *col, const LWGEOM *geom)
Appends geom to the collection managed by col.