|
template<typename U > |
Range< U > | cast () const |
|
T | clamp (T iValue) const |
|
bool | isSingleValue () const |
|
template<typename U , typename TLerp = DPLerpXY<T, U>> |
Range< U > | mapRange (Range< U > const &iRange, bool iClampToRange=true) const |
|
template<typename U , typename TLerp = DPLerpXY<T, U>> |
Range< U > | mapSubRange (Range< T > const &iSubRange, Range< U > const &iRange, bool iClampToRange=true) const |
|
template<typename U , typename TLerp = DPLerpXY<T, U>> |
U | mapValue (T iValue, Range< U > const &iRange, bool iClampToRange=true) const |
|
bool | operator!= (const Range &rhs) const |
|
bool | operator== (const Range &rhs) const |
|
| Range ()=default |
|
| Range (T iValue) noexcept |
|
| Range (T iFrom, T iTo) |
|
template<typename T>
struct pongasoft::Utils::Range< T >
Defines a range of values.