PostGIS  2.5.2dev-r@@SVN_REVISION@@

◆ gserialized_gidx_geom_within()

Datum gserialized_gidx_geom_within ( PG_FUNCTION_ARGS  )

Definition at line 939 of file gserialized_gist_nd.c.

References gidx_contains(), gserialized_datum_predicate_geom_gidx(), gserialized_gidx_gidx_within(), LW_TRUE, and PG_FUNCTION_INFO_V1().

Referenced by gserialized_within().

940 {
941  GIDX *gidx = (GIDX *)PG_GETARG_POINTER(0);
943  if ( gserialized_datum_predicate_geom_gidx(PG_GETARG_DATUM(1), gidx, gidx_contains) == LW_TRUE )
944  PG_RETURN_BOOL(true);
946  PG_RETURN_BOOL(false);
947 }
bool gidx_contains(GIDX *a, GIDX *b)
static int gserialized_datum_predicate_geom_gidx(Datum gs1, GIDX *gidx2, gidx_predicate predicate)
#define LW_TRUE
Return types for functions with status returns.
Definition: liblwgeom.h:76
Here is the call graph for this function:
Here is the caller graph for this function: