#include <BRange.h>
Public Member Functions | |
| BRange (const BRange &r) | |
| Copy constructor. | |
| BRange (double min, double max) | |
| Constructor. | |
| BRange () | |
| Default constructor. | |
| double | GetMaximum (void) const |
| Getd the maximum value. | |
| double | GetMinimum (void) const |
| Gets the minimum value. | |
| bool | IsValid (void) const |
| Indicates whether the range is valid. | |
| void | SetMaximum (double max) |
| Sets the maximum value. | |
| void | SetMinimum (double min) |
| Sets the minimum value. | |
| BRange | ( | ) | [inline] |
Default constructor.
| BRange | ( | double | min, | |
| double | max | |||
| ) | [inline] |
Constructor.
| min | The minimum value. | |
| max | The maximum value. |
| double GetMaximum | ( | void | ) | const [inline] |
Getd the maximum value.
| double GetMinimum | ( | void | ) | const [inline] |
Gets the minimum value.
| bool IsValid | ( | void | ) | const [inline] |
Indicates whether the range is valid.
A range is said to be valid if the minimum value is strictly less than the maximum value.
| void SetMaximum | ( | double | max | ) | [inline] |
Sets the maximum value.
| max | The maximum value. |
| void SetMinimum | ( | double | min | ) | [inline] |
Sets the minimum value.
| min | The minimum value. |