PostGIS  2.4.9dev-r@@SVN_REVISION@@

◆ adjustBox()

static void adjustBox ( BOX2DF *  b,
BOX2DF *  addon 
)
static

Definition at line 1430 of file gserialized_gist_2d.c.

Referenced by fallbackSplit(), and gserialized_gist_picksplit_2d().

1431 {
1432  if (b->xmax < addon->xmax || isnan(b->xmax))
1433  b->xmax = addon->xmax;
1434  if (b->xmin > addon->xmin || isnan(b->xmin))
1435  b->xmin = addon->xmin;
1436  if (b->ymax < addon->ymax || isnan(b->ymax))
1437  b->ymax = addon->ymax;
1438  if (b->ymin > addon->ymin || isnan(b->ymin))
1439  b->ymin = addon->ymin;
1440 }
Here is the caller graph for this function: