PostGIS  2.1.10dev-r@@SVN_REVISION@@
Datum gserialized_within_2d ( PG_FUNCTION_ARGS  )

Definition at line 666 of file gserialized_gist_2d.c.

References box2df_within(), FALSE, gserialized_datum_predicate_2d(), LW_TRUE, and TRUE.

667 {
668  POSTGIS_DEBUG(3, "entered function");
669  if ( gserialized_datum_predicate_2d(PG_GETARG_DATUM(0), PG_GETARG_DATUM(1), box2df_within) == LW_TRUE )
670  PG_RETURN_BOOL(TRUE);
671 
672  PG_RETURN_BOOL(FALSE);
673 }
static bool box2df_within(const BOX2DF *a, const BOX2DF *b)
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:51
#define FALSE
Definition: dbfopen.c:169
static int gserialized_datum_predicate_2d(Datum gs1, Datum gs2, box2df_predicate predicate)
Support function.
#define TRUE
Definition: dbfopen.c:170

Here is the call graph for this function: