PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ box3d_to_box_p()

static void box3d_to_box_p ( BOX3D box,
BOX *  out 
)
static

Definition at line 171 of file lwgeom_box3d.c.

References BOX3D_to_BOX(), PG_FUNCTION_INFO_V1(), BOX3D::xmax, BOX3D::xmin, BOX3D::ymax, and BOX3D::ymin.

Referenced by BOX3D_to_BOX().

172 {
173  if ( ! box ) return;
174 
175  out->low.x = box->xmin;
176  out->low.y = box->ymin;
177 
178  out->high.x = box->xmax;
179  out->high.y = box->ymax;
180 }
double ymin
Definition: liblwgeom.h:279
double xmin
Definition: liblwgeom.h:279
double xmax
Definition: liblwgeom.h:280
double ymax
Definition: liblwgeom.h:280
Here is the call graph for this function:
Here is the caller graph for this function: