PostGIS  2.3.7dev-r@@SVN_REVISION@@
void expand_box3d ( BOX3D box,
double  d 
)

Expand given box of 'd' units in all directions.

Definition at line 361 of file lwgeom_box3d.c.

References BOX3D::xmax, BOX3D::xmin, BOX3D::ymax, BOX3D::ymin, BOX3D::zmax, and BOX3D::zmin.

Referenced by BOX3D_expand().

362 {
363  box->xmin -= d;
364  box->ymin -= d;
365  box->zmin -= d;
366 
367  box->xmax += d;
368  box->ymax += d;
369  box->zmax += d;
370 }
double ymin
Definition: liblwgeom.h:276
double xmin
Definition: liblwgeom.h:276
double xmax
Definition: liblwgeom.h:277
double ymax
Definition: liblwgeom.h:277
double zmax
Definition: liblwgeom.h:277
double zmin
Definition: liblwgeom.h:276

Here is the caller graph for this function: