PostGIS 3.6.2dev-r@@SVN_REVISION@@
Loading...
Searching...
No Matches

◆ nd_box_init_bounds()

static int nd_box_init_bounds ( ND_BOX a)
static

Prepare an ND_BOX for bounds calculation: set the maxes to the smallest thing possible and the mins to the largest.

Definition at line 487 of file gserialized_estimate.c.

488{
489 int d;
490 for ( d = 0; d < ND_DIMS; d++ )
491 {
492 a->min[d] = FLT_MAX;
493 a->max[d] = -1 * FLT_MAX;
494 }
495 return true;
496}

References ND_BOX_T::max, ND_BOX_T::min, and ND_DIMS.

Referenced by compute_gserialized_stats_mode().

Here is the caller graph for this function: