PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gserialized_contains_box2df_box2df_2d()

Datum gserialized_contains_box2df_box2df_2d ( PG_FUNCTION_ARGS  )

Definition at line 703 of file gserialized_gist_2d.c.

References box2df_contains(), FALSE, gserialized_within_box2df_geom_2d(), PG_FUNCTION_INFO_V1(), and TRUE.

Referenced by gserialized_contains_box2df_geom_2d().

704 {
705  if ( box2df_contains((BOX2DF *)PG_GETARG_POINTER(0), (BOX2DF *)PG_GETARG_POINTER(1)))
706  PG_RETURN_BOOL(TRUE);
707 
708  PG_RETURN_BOOL(FALSE);
709 }
#define FALSE
Definition: dbfopen.c:168
bool box2df_contains(const BOX2DF *a, const BOX2DF *b)
#define TRUE
Definition: dbfopen.c:169
Here is the call graph for this function:
Here is the caller graph for this function: