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)
 
Begin () const
 
End () const
 
Min () const
 
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

min_ {}
 
max_ {}
 
begin_ {}
 
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: