PostGIS  2.5.0dev-r@@SVN_REVISION@@

◆ gserialized_contains_box2df_geom_2d()

Datum gserialized_contains_box2df_geom_2d ( PG_FUNCTION_ARGS  )

Definition at line 740 of file gserialized_gist_2d.c.

References box2df_contains(), gserialized_contains_box2df_box2df_2d(), gserialized_datum_predicate_box2df_geom_2d(), LW_TRUE, and PG_FUNCTION_INFO_V1().

Referenced by gserialized_datum_predicate_box2df_geom_2d().

741 {
742  POSTGIS_DEBUG(3, "entered function");
743  if ( gserialized_datum_predicate_box2df_geom_2d((BOX2DF*)PG_GETARG_POINTER(0), PG_GETARG_DATUM(1), box2df_contains) == LW_TRUE )
744  PG_RETURN_BOOL(true);
745 
746  PG_RETURN_BOOL(false);
747 }
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:75
bool box2df_contains(const BOX2DF *a, const BOX2DF *b)
static int gserialized_datum_predicate_box2df_geom_2d(const BOX2DF *br1, Datum gs2, box2df_predicate predicate)
Here is the call graph for this function:
Here is the caller graph for this function: