PostGIS  2.1.10dev-r@@SVN_REVISION@@
GBOX* gbox_clone ( const GBOX gbox)

Definition at line 39 of file g_box.c.

References lwalloc().

Referenced by lwcurvepoly_construct_from_lwpoly(), and lwgeom_add_bbox_deep().

40 {
41  GBOX *g = lwalloc(sizeof(GBOX));
42  memcpy(g, gbox, sizeof(GBOX));
43  return g;
44 }
void * lwalloc(size_t size)
Definition: lwutil.c:175

Here is the call graph for this function:

Here is the caller graph for this function: