PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ box3d_to_box_p()

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

Definition at line 160 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().

161 {
162  if (!box)
163  return;
164 
165  out->low.x = box->xmin;
166  out->low.y = box->ymin;
167 
168  out->high.x = box->xmax;
169  out->high.y = box->ymax;
170 }
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: