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