Stg::Bounds Class Reference
#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 | |
Detailed Description
Bound a range of values, from min to max. min and max are initialized to zero.
Constructor & Destructor Documentation
| Stg::Bounds::Bounds | ( | ) | [inline] |
| Stg::Bounds::Bounds | ( | double | min, |
| double | max | ||
| ) | [inline] |
Member Function Documentation
| double Bounds::Constrain | ( | double | value | ) |
Member Data Documentation
| double Stg::Bounds::max |
largest value in range, initially zero
| double Stg::Bounds::min |
smallest value in range, initially zero
The documentation for this class was generated from the following files:
Generated on Thu Dec 29 2011 16:43:39 for Stage by
1.7.5.1
