Definition at line 477 of file effectivearea.c.
References LWPOLY::flags, FLAGS_GET_M, FLAGS_GET_Z, LW_FAILURE, LWDEBUG, lwpoly_add_ring(), lwpoly_construct_empty(), lwpoly_is_empty(), POINTARRAY::npoints, LWPOLY::nrings, ptarray_set_effective_area(), LWPOLY::rings, LWPOLY::srid, and LWPOLY::type.
Referenced by lwgeom_set_effective_area().
479 LWDEBUG(2,
"Entered lwpoly_set_effective_area");
482 int avoid_collapse=4;
492 for (i = 0; i < ipoly->
nrings; i++)
#define LWDEBUG(level, msg)
static POINTARRAY * ptarray_set_effective_area(POINTARRAY *inpts, int avoid_collaps, int set_area, double trshld)
int lwpoly_is_empty(const LWPOLY *poly)
#define FLAGS_GET_Z(flags)
Macros for manipulating the 'flags' byte.
LWPOLY * lwpoly_construct_empty(int srid, char hasz, char hasm)
#define FLAGS_GET_M(flags)
int lwpoly_add_ring(LWPOLY *poly, POINTARRAY *pa)
Add a ring, allocating extra space if necessary.