PostGIS  2.5.0dev-r@@SVN_REVISION@@
static bool box2df_above ( const BOX2DF *  a,
const BOX2DF *  b 
)
static

Definition at line 470 of file gserialized_gist_2d.c.

References box2df_is_empty().

Referenced by box2df_distance(), gserialized_above_2d(), gserialized_gist_consistent_internal_2d(), and gserialized_gist_consistent_leaf_2d().

471 {
472  if ( !a || !b || box2df_is_empty(a) || box2df_is_empty(b) )
473  return false;
474 
475  /* a.ymin > b.ymax */
476  return a->ymin > b->ymax;
477 }
bool box2df_is_empty(const BOX2DF *a)

Here is the call graph for this function:

Here is the caller graph for this function: