PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gbox_clone()

GBOX* gbox_clone ( const GBOX gbox)

Definition at line 56 of file g_box.c.

References lwalloc().

Referenced by lwcurvepoly_construct_from_lwpoly(), lwgeom_add_bbox_deep(), and lwgeom_from_twkb_state().

57 {
58  GBOX *g = lwalloc(sizeof(GBOX));
59  memcpy(g, gbox, sizeof(GBOX));
60  return g;
61 }
void * lwalloc(size_t size)
Definition: lwutil.c:229
Here is the call graph for this function:
Here is the caller graph for this function: