Definition at line 118 of file lwline.c.
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(), and lwline_split_by_point().
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 LWDEBUGF(level, msg,...)
#define FLAGS_SET_READONLY(flags, value)