PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ overlap6D()

static bool overlap6D ( CubeBox3D cube_box,
BOX3D query 
)
static

Definition at line 266 of file gserialized_spgist_3d.c.

267 {
268  return (cube_box->left.xmin <= query->xmax) && (cube_box->right.xmax >= query->xmin) &&
269  (cube_box->left.ymin <= query->ymax) && (cube_box->right.ymax >= query->ymin) &&
270  (cube_box->left.zmin <= query->zmax) && (cube_box->right.zmax >= query->zmin);
271 }
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: