PostGIS  3.0.6dev-r@@SVN_REVISION@@

◆ gbox_clone()

GBOX* gbox_clone ( const GBOX gbox)

Definition at line 45 of file gbox.c.

46 {
47  GBOX *g = lwalloc(sizeof(GBOX));
48  memcpy(g, gbox, sizeof(GBOX));
49  return g;
50 }
void * lwalloc(size_t size)
Definition: lwutil.c:227

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: