Expand an ND_BOX ever so slightly.
Expand parameter is the proportion of total width to add.
Definition at line 641 of file gserialized_estimate.c.
642{
643 int d;
644 double size;
645 for ( d = 0; d <
ND_DIMS; d++ )
646 {
647 size = nd_box->
max[d] - nd_box->
min[d];
648
650 continue;
651 nd_box->
min[d] -= size * expansion_factor / 2;
652 nd_box->
max[d] += size * expansion_factor / 2;
653 }
654 return true;
655}
#define ND_DIMS
The maximum number of dimensions our code can handle.
#define MAX_DIMENSION_WIDTH
Maximum width of a dimension that we'll bother trying to compute statistics on.
References ND_BOX_T::max, MAX_DIMENSION_WIDTH, ND_BOX_T::min, and ND_DIMS.
Referenced by compute_gserialized_stats_mode().