|
| | EvenlySpaced ()=default |
| void | SetNumBins (unsigned int aSize) |
| unsigned int | GetNumBins () const |
| void | SetDelta (double aValue) |
| double | Delta () const |
| void | SetMin (double aValue) |
| double | Min () const |
| double | Max () const |
| bool | BinCenter (unsigned int aIndex, double &aValue) const |
| | Get the floating point value that is half way between the upper and lower bound of this "bin" index.
|
| bool | BinLower (unsigned int aIndex, double &aValue) const |
| | Get the floating point value that is the lower bound of this "bin" index.
|
| bool | BinUpper (unsigned int aIndex, double &aValue) const |
| | Get the floating point value that is the upper bound of this "bin" index.
|
| bool | GetIndex (double aValue, unsigned int &aIndex) const |
This nested class represents an evenly-spaced array of floating-point numbers that identify the constrained range of an independent variable, such as elevation values for which a weapon may be launched. Refer to "bins" that are zero-indexed, where the bin center is the floating point value that is half way between the upper and lower bounds of the bin. Example: If there are 7 bins, there are 8 values (in total) bounding the upper and lower edges of all bins, and valid bin indices are 0 to 6.