PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ initCubeBox()

static CubeBox3D* initCubeBox ( void  )
static

Definition at line 191 of file gserialized_spgist_3d.c.

192 {
193  CubeBox3D *cube_box = (CubeBox3D *)palloc(sizeof(CubeBox3D));
194  double infinity = DBL_MAX;
195 
196  cube_box->left.xmin = -infinity;
197  cube_box->left.xmax = infinity;
198 
199  cube_box->left.ymin = -infinity;
200  cube_box->left.ymax = infinity;
201 
202  cube_box->left.zmin = -infinity;
203  cube_box->left.zmax = infinity;
204 
205  cube_box->right.xmin = -infinity;
206  cube_box->right.xmax = infinity;
207 
208  cube_box->right.ymin = -infinity;
209  cube_box->right.ymax = infinity;
210 
211  cube_box->right.zmin = -infinity;
212  cube_box->right.zmax = infinity;
213 
214  return cube_box;
215 }
double xmax
Definition: liblwgeom.h:281
double zmin
Definition: liblwgeom.h:280
double ymax
Definition: liblwgeom.h:281
double ymin
Definition: liblwgeom.h:280
double zmax
Definition: liblwgeom.h:281
double xmin
Definition: liblwgeom.h:280

References CubeBox3D::left, CubeBox3D::right, BOX3D::xmax, BOX3D::xmin, BOX3D::ymax, BOX3D::ymin, BOX3D::zmax, and BOX3D::zmin.

Referenced by gserialized_spgist_inner_consistent_3d().

Here is the caller graph for this function: