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

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

Definition at line 252 of file lwgeom_box3d.c.

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

Referenced by BOX3D_expand().

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

Here is the caller graph for this function: