|
Rebel Fork Framework
|
Numerical range (pair of min and max value). Invalid if flipped. More...
#include <Urho3D/Math/NumericRange.h>
Public Member Functions | |
| NumericRange () | |
| Construct invalid. | |
| NumericRange (const T &minValue, const T &maxValue) | |
| Construct valid. | |
| bool | IsValid () const |
| Return whether the range is valid. | |
| bool | Intersect (const NumericRange &rhs) const |
| Return whether the range intersects another. | |
| bool | ContainsInclusive (const T &value) const |
| Return whether the range contains a value (including borders). | |
| bool | ContainsExclusive (const T &value) const |
| Return whether the range contains a value (excluding borders). | |
| NumericRange< T > & | operator|= (const NumericRange &rhs) |
| Accumulate range. | |
| NumericRange< T > | operator| (const NumericRange &rhs) const |
| Accumulate range. | |
| NumericRange< T > & | operator&= (const NumericRange &rhs) |
| Trim range. | |
| NumericRange< T > | operator& (const NumericRange &rhs) const |
| Trim range. | |
Numerical range (pair of min and max value). Invalid if flipped.