PostGIS  2.5.1dev-r@@SVN_REVISION@@

◆ adjustBox()

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

Definition at line 1485 of file gserialized_gist_2d.c.

Referenced by fallbackSplit(), and gserialized_gist_picksplit_2d().

1486 {
1487  if (b->xmax < addon->xmax || isnan(b->xmax))
1488  b->xmax = addon->xmax;
1489  if (b->xmin > addon->xmin || isnan(b->xmin))
1490  b->xmin = addon->xmin;
1491  if (b->ymax < addon->ymax || isnan(b->ymax))
1492  b->ymax = addon->ymax;
1493  if (b->ymin > addon->ymin || isnan(b->ymin))
1494  b->ymin = addon->ymin;
1495 }
Here is the caller graph for this function: