PostGIS  2.2.8dev-r@@SVN_REVISION@@

◆ gserialized_overlaps()

Datum gserialized_overlaps ( PG_FUNCTION_ARGS  )

Definition at line 814 of file gserialized_gist_nd.c.

References FALSE, gidx_overlaps(), gserialized_datum_predicate(), gserialized_gist_compress(), LW_TRUE, PG_FUNCTION_INFO_V1(), and TRUE.

Referenced by gserialized_contains().

815 {
816  if ( gserialized_datum_predicate(PG_GETARG_DATUM(0),PG_GETARG_DATUM(1), gidx_overlaps) == LW_TRUE )
817  {
818  PG_RETURN_BOOL(TRUE);
819  }
820 
821  PG_RETURN_BOOL(FALSE);
822 }
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:61
static bool gidx_overlaps(GIDX *a, GIDX *b)
#define FALSE
Definition: dbfopen.c:168
#define TRUE
Definition: dbfopen.c:169
Here is the call graph for this function:
Here is the caller graph for this function: