PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gserialized_within_box2df_geom_2d()

Datum gserialized_within_box2df_geom_2d ( PG_FUNCTION_ARGS  )

Definition at line 712 of file gserialized_gist_2d.c.

References box2df_within(), FALSE, gserialized_datum_predicate_box2df_geom_2d(), gserialized_within_box2df_box2df_2d(), LW_TRUE, PG_FUNCTION_INFO_V1(), and TRUE.

Referenced by gserialized_contains_box2df_box2df_2d().

713 {
714  POSTGIS_DEBUG(3, "entered function");
715  if ( gserialized_datum_predicate_box2df_geom_2d((BOX2DF*)PG_GETARG_POINTER(0), PG_GETARG_DATUM(1), box2df_within) == LW_TRUE )
716  PG_RETURN_BOOL(TRUE);
717 
718  PG_RETURN_BOOL(FALSE);
719 }
static bool box2df_within(const BOX2DF *a, const BOX2DF *b)
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:76
#define FALSE
Definition: dbfopen.c:168
static int gserialized_datum_predicate_box2df_geom_2d(const BOX2DF *br1, Datum gs2, box2df_predicate predicate)
#define TRUE
Definition: dbfopen.c:169
Here is the call graph for this function:
Here is the caller graph for this function: