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

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

Definition at line 251 of file lwgeom_box3d.c.

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

Referenced by BOX3D_expand().

252 {
253  box->xmin -= d;
254  box->ymin -= d;
255  box->zmin -= d;
256 
257  box->xmax += d;
258  box->ymax += d;
259  box->zmax += d;
260 }
double ymin
Definition: liblwgeom.h:261
double xmin
Definition: liblwgeom.h:261
double xmax
Definition: liblwgeom.h:262
double ymax
Definition: liblwgeom.h:262
double zmax
Definition: liblwgeom.h:262
double zmin
Definition: liblwgeom.h:261

Here is the caller graph for this function: