#include <stage.hh>
Public Member Functions | |
| Bounds () | |
| Bounds (double min, double max) | |
| double | Constrain (double value) |
| Bounds & | Load (Worldfile *wf, int section, const char *keyword) |
Public Attributes | |
| double | max |
| largest value in range, initially zero | |
| double | min |
| smallest value in range, initially zero | |
Bound a range of values, from min to max. min and max are initialized to zero.
| Stg::Bounds::Bounds | ( | ) | [inline] |
| Stg::Bounds::Bounds | ( | double | min, |
| double | max | ||
| ) | [inline] |
| double Bounds::Constrain | ( | double | value | ) |
| Bounds & Bounds::Load | ( | Worldfile * | wf, |
| int | section, | ||
| const char * | keyword | ||
| ) |
| double Stg::Bounds::max |
| double Stg::Bounds::min |