PostGIS  2.5.0beta2dev-r@@SVN_REVISION@@

◆ gserialized_within()

Datum gserialized_within ( PG_FUNCTION_ARGS  )

Definition at line 923 of file gserialized_gist_nd.c.

References gidx_contains(), gserialized_datum_predicate(), gserialized_gidx_geom_within(), LW_TRUE, and PG_FUNCTION_INFO_V1().

Referenced by gserialized_distance_nd().

924 {
925  if ( gserialized_datum_predicate(PG_GETARG_DATUM(1), PG_GETARG_DATUM(0), gidx_contains) == LW_TRUE )
926  {
927  PG_RETURN_BOOL(true);
928  }
929 
930  PG_RETURN_BOOL(false);
931 }
bool gidx_contains(GIDX *a, GIDX *b)
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:75
Here is the call graph for this function:
Here is the caller graph for this function: