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

Definition at line 151 of file lwgeom_box3d.c.

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

Referenced by BOX3D_to_BOX().

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

Here is the caller graph for this function: