PostGIS  2.3.8dev-r@@SVN_REVISION@@

◆ gserialized_gist_same_2d()

Datum gserialized_gist_same_2d ( PG_FUNCTION_ARGS  )

Definition at line 1319 of file gserialized_gist_2d.c.

References box2df_equals().

Referenced by gserialized_gist_union_2d().

1320 {
1321  BOX2DF *b1 = (BOX2DF*)PG_GETARG_POINTER(0);
1322  BOX2DF *b2 = (BOX2DF*)PG_GETARG_POINTER(1);
1323  bool *result = (bool*)PG_GETARG_POINTER(2);
1324 
1325  POSTGIS_DEBUG(4, "[GIST] 'same' function called");
1326 
1327  *result = box2df_equals(b1, b2);
1328 
1329  PG_RETURN_POINTER(result);
1330 }
static bool box2df_equals(const BOX2DF *a, const BOX2DF *b)
Here is the call graph for this function:
Here is the caller graph for this function: