PostGIS  2.2.7dev-r@@SVN_REVISION@@
Datum BOX3D_expand ( PG_FUNCTION_ARGS  )

Definition at line 263 of file lwgeom_box3d.c.

References expand_box3d().

264 {
265  BOX3D *box = (BOX3D *)PG_GETARG_POINTER(0);
266  double d = PG_GETARG_FLOAT8(1);
267  BOX3D *result = (BOX3D *)palloc(sizeof(BOX3D));
268 
269  memcpy(result, box, sizeof(BOX3D));
270  expand_box3d(result, d);
271 
272  PG_RETURN_POINTER(result);
273 }
void expand_box3d(BOX3D *box, double d)
Expand given box of 'd' units in all directions.
Definition: lwgeom_box3d.c:251

Here is the call graph for this function: