|
| RangeSequenceT (Vector< T > const &sequence) |
|
RangeType const & | getRange (T const &value) const |
|
| Range (T const &min, T const &max) noexcept |
| Constructor.
|
|
T const & | clamp (T const &value) const noexcept |
| Puts a value in the range.
|
|
bool | has (T const &value) const noexcept |
|
float | percent (T const &value) const noexcept |
| Gives the percentage matching the given value.
|
|
float | invPercent (T const &value) const noexcept |
| Gives the percentage matching the given value.
|
|
T | value (float const &percent) const noexcept |
| Gives the value matching the given percentage.
|
|
T | invValue (float const &percent) const noexcept |
| Gives the value matching the given percentage.
|
|
T const & | getMin () const noexcept |
|
T const & | getMax () const noexcept |
|
template<typename T>
class castor::RangeSequenceT< T >
A contiguous ranges sequence.