PostGIS  2.3.7dev-r@@SVN_REVISION@@
static void box3d_to_box_p ( BOX3D box,
BOX *  out 
)
static

Definition at line 171 of file lwgeom_box3d.c.

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

Referenced by BOX3D_to_BOX().

172 {
173 #if PARANOIA_LEVEL > 0
174  if (box == NULL) return;
175 #endif
176 
177  out->low.x = box->xmin;
178  out->low.y = box->ymin;
179 
180  out->high.x = box->xmax;
181  out->high.y = box->ymax;
182 }
double ymin
Definition: liblwgeom.h:276
double xmin
Definition: liblwgeom.h:276
double xmax
Definition: liblwgeom.h:277
double ymax
Definition: liblwgeom.h:277

Here is the caller graph for this function: