PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ contain6D()

static bool contain6D ( CubeBox3D cube_box,
BOX3D query 
)
static

Definition at line 275 of file gserialized_spgist_3d.c.

276 {
277  return (cube_box->right.xmax >= query->xmax) && (cube_box->left.xmin <= query->xmin) &&
278  (cube_box->right.ymax >= query->ymax) && (cube_box->left.ymin <= query->ymin) &&
279  (cube_box->right.zmax >= query->zmax) && (cube_box->left.zmin <= query->zmin);
280 }
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: