Definition at line 118 of file lwline.c.
122 LWDEBUGF(2,
"lwline_clone_deep called with %p", g);
123 memcpy(ret, g,
sizeof(
LWLINE));
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)
#define LWDEBUGF(level, msg,...)
References LWLINE::bbox, LWLINE::flags, FLAGS_SET_READONLY, gbox_copy(), lwalloc(), LWDEBUGF, LWLINE::points, and ptarray_clone_deep().
Referenced by lwgeom_clone_deep(), lwline_split_by_mpoint(), lwline_split_by_point(), and lwline_unstroke().