Rebel Fork Framework
Urho3D::WrappedScalarRange< T > Class Template Reference

#include <Urho3D/Math/WrappedScalar.h>

Public Member Functions

 WrappedScalarRange (T value, T minValue, T maxValue)
 
 WrappedScalarRange (T beginValue, T endValue, T minValue, T maxValue, int numWraps)
 
T Begin () const
 
T End () const
 
T Min () const
 
T Max () const
 
bool IsEmpty () const
 
bool ContainsInclusive (T value) const
 
bool ContainsExclusive (T value) const
 
bool ContainsExcludingBegin (T value) const
 
bool ContainsExcludingEnd (T value) const
 
bool operator== (const WrappedScalarRange &rhs) const
 
bool operator!= (const WrappedScalarRange &rhs) const
 

Private Member Functions

bool ContainsInternal (T value, bool includeBegin, bool includeEnd) const
 

Private Attributes

T min_ {}
 
T max_ {}
 
T begin_ {}
 
T end_ {}
 
int numWraps_ {}
 

Detailed Description

template<class T>
class Urho3D::WrappedScalarRange< T >

Range between two WrappedScalar values. Preserves direction of change.


The documentation for this class was generated from the following file: