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

Definition at line 490 of file gserialized_gist_nd.c.

References FALSE, gidx_contains(), gserialized_datum_predicate(), LW_TRUE, and TRUE.

491 {
492  if ( gserialized_datum_predicate(PG_GETARG_DATUM(1), PG_GETARG_DATUM(0), gidx_contains) == LW_TRUE )
493  {
494  PG_RETURN_BOOL(TRUE);
495  }
496 
497  PG_RETURN_BOOL(FALSE);
498 }
static int gserialized_datum_predicate(Datum gs1, Datum gs2, gidx_predicate predicate)
Support function.
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:51
#define FALSE
Definition: dbfopen.c:169
static bool gidx_contains(GIDX *a, GIDX *b)
#define TRUE
Definition: dbfopen.c:170

Here is the call graph for this function: