PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ gbox_clone()

GBOX* gbox_clone ( const GBOX gbox)

Definition at line 41 of file g_box.c.

References lwalloc().

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

42 {
43  GBOX *g = lwalloc(sizeof(GBOX));
44  memcpy(g, gbox, sizeof(GBOX));
45  return g;
46 }
void * lwalloc(size_t size)
Definition: lwutil.c:199
Here is the call graph for this function:
Here is the caller graph for this function: