Definition at line 126 of file lwchaikins.c.
135 for (i = 0; i < ipoly->
nrings; i++)
137 pa = ipoly->
rings[i];
138 for(j=0;j<n_iterations;j++)
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)
void ptarray_free(POINTARRAY *pa)
#define LW_TRUE
Return types for functions with status returns.
LWPOLY * lwpoly_construct_empty(int srid, char hasz, char hasm)
int lwpoly_is_empty(const LWPOLY *poly)
static POINTARRAY * ptarray_chaikin(POINTARRAY *inpts, int preserve_endpoint, int isclosed)
References LWPOLY::flags, FLAGS_GET_M, FLAGS_GET_Z, LW_FAILURE, LW_TRUE, lwpoly_add_ring(), lwpoly_construct_empty(), lwpoly_is_empty(), POINTARRAY::npoints, LWPOLY::nrings, ptarray_chaikin(), ptarray_free(), LWPOLY::rings, LWPOLY::srid, and LWPOLY::type.
Referenced by lwgeom_chaikin().