PostGIS  2.5.0dev-r@@SVN_REVISION@@
int box2df_to_gbox_p ( BOX2DF *  a,
GBOX box 
)

Definition at line 317 of file gserialized_gist_2d.c.

References LW_SUCCESS, GBOX::xmax, GBOX::xmin, GBOX::ymax, and GBOX::ymin.

Referenced by spatial_index_read_extent().

318 {
319  memset(box, 0, sizeof(GBOX));
320  box->xmin = a->xmin;
321  box->xmax = a->xmax;
322  box->ymin = a->ymin;
323  box->ymax = a->ymax;
324  return LW_SUCCESS;
325 }
double xmax
Definition: liblwgeom.h:292
#define LW_SUCCESS
Definition: liblwgeom.h:79
double ymin
Definition: liblwgeom.h:293
double xmin
Definition: liblwgeom.h:291
double ymax
Definition: liblwgeom.h:294

Here is the caller graph for this function: