PostGIS  2.5.0dev-r@@SVN_REVISION@@
static int nd_box_contains ( const ND_BOX a,
const ND_BOX b,
int  ndims 
)
static

Return true if ND_BOX a contains b, false otherwise.

Definition at line 630 of file gserialized_estimate.c.

References ND_BOX_T::max, and ND_BOX_T::min.

Referenced by estimate_selectivity().

631 {
632  int d;
633  for ( d = 0; d < ndims; d++ )
634  {
635  if ( ! ((a->min[d] < b->min[d]) && (a->max[d] > b->max[d])) )
636  return false;
637  }
638  return true;
639 }
float4 max[ND_DIMS]
float4 min[ND_DIMS]

Here is the caller graph for this function: