PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gserialized_within_box2df_box2df_2d()

Datum gserialized_within_box2df_box2df_2d ( PG_FUNCTION_ARGS  )

Definition at line 722 of file gserialized_gist_2d.c.

References box2df_within(), FALSE, gserialized_overlaps_box2df_geom_2d(), PG_FUNCTION_INFO_V1(), and TRUE.

Referenced by gserialized_within_box2df_geom_2d().

723 {
724  if ( box2df_within((BOX2DF *)PG_GETARG_POINTER(0), (BOX2DF *)PG_GETARG_POINTER(1)))
725  PG_RETURN_BOOL(TRUE);
726 
727  PG_RETURN_BOOL(FALSE);
728 }
static bool box2df_within(const BOX2DF *a, const BOX2DF *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: