PostGIS  2.5.7dev-r@@SVN_REVISION@@

◆ box2df_edge()

static float box2df_edge ( const BOX2DF *  a)
static

Definition at line 245 of file gserialized_gist_2d.c.

246 {
247  if ( a == NULL || box2df_is_empty(a) )
248  return (float)0.0;
249 
250  return ((a->xmax) - (a->xmin)) + ((a->ymax) - (a->ymin));
251 }
bool box2df_is_empty(const BOX2DF *a)

References box2df_is_empty().

Referenced by box2df_union_edge(), and gserialized_gist_penalty_2d().

Here is the call graph for this function:
Here is the caller graph for this function: