Private Attributes |
|
Float | _min |
Float | _max |
Constructors |
|
RangePair ( Float min=0.0, Float max=0.0) | |
RangePair (const RangePair &src) |
函数 |
|
Bool | Contains ( Float value) const |
Float | GetMin () const |
Float | GetMax () const |
Float | GetCenter () const |
RangePair | ( | Float |
min
=
0.0
,
|
Float |
max
=
0.0
|
||
) |
Default constructor.
RangePair | ( | const RangePair & | src | ) |
Copy constructor.
[in] | src | The source RangePair . |
Bool Contains | ( | Float | value | ) | const |
Checks if the range contains the given value .
[in] | value | The value to check. |
Float GetMin | ( | ) | const |
Retrieves the minimum range value.
Float GetMax | ( | ) | const |
Retrieves the maximum range value.
Float GetCenter | ( | ) | const |
Calculates the center value for the range.
|
private |
|
private |