PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ gbox_clone()

GBOX* gbox_clone ( const GBOX gbox)

Definition at line 52 of file g_box.c.

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

References lwalloc().

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

Here is the call graph for this function:
Here is the caller graph for this function: