#include <range.h>
Public Member Functions | |
CRange (const T &t_min=T(), const T &t_max=T()) | |
T | GetMin () const |
void | SetMin (const T &t_min) |
T | GetMax () const |
void | SetMax (const T &t_max) |
T | GetSpan () const |
void | Set (const T &t_min, const T &t_max) |
bool | WithinMinBoundIncludedMaxBoundIncluded (const T &t_value) const |
bool | WithinMinBoundIncludedMaxBoundExcluded (const T &t_value) const |
bool | WithinMinBoundExcludedMaxBoundIncluded (const T &t_value) const |
bool | WithinMinBoundExcludedMaxBoundExcluded (const T &t_value) const |
void | TruncValue (T &t_value) const |
Real | NormalizeValue (const T &t_value) const |
template<typename U > | |
void | MapValueIntoRange (U &t_output_value, const T &t_input_value, const CRange< U > &c_range) const |
void | WrapValue (T &t_value) const |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |