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

Definition at line 152 of file lwgeom_box3d.c.

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

Referenced by BOX3D_to_BOX().

153 {
154 #if PARANOIA_LEVEL > 0
155  if (box == NULL) return;
156 #endif
157 
158  out->low.x = box->xmin;
159  out->low.y = box->ymin;
160 
161  out->high.x = box->xmax;
162  out->high.y = box->ymax;
163 }
double ymin
Definition: liblwgeom.h:233
double xmin
Definition: liblwgeom.h:233
double xmax
Definition: liblwgeom.h:234
double ymax
Definition: liblwgeom.h:234

Here is the caller graph for this function: