PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ box2df_within()

static bool box2df_within ( const BOX2DF *  a,
const BOX2DF *  b 
)
static

Definition at line 342 of file gserialized_gist_2d.c.

References box2df_contains(), and FALSE.

Referenced by gserialized_within_2d(), gserialized_within_box2df_box2df_2d(), and gserialized_within_box2df_geom_2d().

343 {
344  if ( ! a || ! b ) return FALSE; /* TODO: might be smarter for EMPTY */
345 
346  POSTGIS_DEBUG(5, "entered function");
347  return box2df_contains(b,a);
348 }
#define FALSE
Definition: dbfopen.c:168
bool box2df_contains(const BOX2DF *a, const BOX2DF *b)
Here is the call graph for this function:
Here is the caller graph for this function: