PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ gserialized_gist_same_2d()

Datum gserialized_gist_same_2d ( PG_FUNCTION_ARGS  )

Definition at line 1412 of file gserialized_gist_2d.c.

References box2df_equals().

Referenced by gserialized_gist_union_2d().

1413 {
1414  BOX2DF *b1 = (BOX2DF*)PG_GETARG_POINTER(0);
1415  BOX2DF *b2 = (BOX2DF*)PG_GETARG_POINTER(1);
1416  bool *result = (bool*)PG_GETARG_POINTER(2);
1417 
1418  POSTGIS_DEBUG(4, "[GIST] 'same' function called");
1419 
1420  *result = box2df_equals(b1, b2);
1421 
1422  PG_RETURN_POINTER(result);
1423 }
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: