PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ box2df_to_gbox_p()

int box2df_to_gbox_p ( BOX2DF *  a,
GBOX box 
)

Definition at line 317 of file gserialized_gist_2d.c.

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 }
#define LW_SUCCESS
Definition: liblwgeom.h:80
double ymax
Definition: liblwgeom.h:298
double xmax
Definition: liblwgeom.h:296
double ymin
Definition: liblwgeom.h:297
double xmin
Definition: liblwgeom.h:295

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

Referenced by spatial_index_read_extent().

Here is the caller graph for this function: