PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ gbox_clone()

GBOX* gbox_clone ( const GBOX gbox)

Definition at line 52 of file g_box.c.

References lwalloc().

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

53 {
54  GBOX *g = lwalloc(sizeof(GBOX));
55  memcpy(g, gbox, sizeof(GBOX));
56  return g;
57 }
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: