Definition at line 228 of file lwpoly.c.
232 memcpy(ret, g,
sizeof(
LWPOLY));
235 for ( i = 0; i < ret->
nrings; i++ )
GBOX * gbox_copy(const GBOX *box)
Return a copy of the GBOX, based on dimensionality of flags.
POINTARRAY * ptarray_clone_deep(const POINTARRAY *ptarray)
Deep clone a pointarray (also clones serialized pointlist)
void * lwalloc(size_t size)
#define FLAGS_SET_READONLY(flags, value)
References LWPOLY::bbox, LWPOLY::flags, FLAGS_SET_READONLY, gbox_copy(), lwalloc(), LWPOLY::nrings, ptarray_clone_deep(), and LWPOLY::rings.
Referenced by lwgeom_clone_deep().