|
| BasicInterval () |
|
| BasicInterval (const T &start, const T &stop) |
|
T | atIndex (int, const T &step) const |
|
T | center () const |
|
float | getfCenter () const |
|
template<class X > |
float | getfIndex (const X &, const T &step) const |
|
template<class X > |
int | getIndex (const X &, const T &step) const |
|
void | include (const BasicInterval< T > &, bool allowrev=true) |
|
void | include (const T &, bool allowrev=true) |
|
template<class X > |
bool | includes (const BasicInterval< X > &, bool allowrev=true) const |
|
template<class X > |
bool | includes (const Interval< X > &, bool allowrev=true) const |
|
template<class X > |
bool | includes (const X &, bool allowrev) const |
|
template<class X > |
int | indexOnOrAfter (X x, const T &step, float eps=1e-5) const |
|
bool | isEqual (const BasicInterval< T > &i, const T &eps) const |
|
bool | isRev () const |
|
template<class X > |
void | limitTo (const BasicInterval< X > &i) |
|
template<class X > |
X | limitValue (const X &) const |
|
template<class X > |
int | nearestIndex (const X &x, const T &step) const |
|
bool | operator!= (const BasicInterval< T > &) const |
|
BasicInterval< T > | operator+ (const BasicInterval< T > &) const |
|
BasicInterval< T > & | operator+= (const BasicInterval< T > &) |
|
BasicInterval< T > & | operator= (const BasicInterval< T > &) |
|
bool | operator== (const BasicInterval< T > &) const |
|
template<class X > |
bool | overlaps (const BasicInterval< X > &, bool allrev=true) const |
|
template<class X > |
float | pos (X val, bool limit=true, bool allowrev=true) const |
|
void | set (const T &start, const T &stop) |
|
template<class X > |
const BasicInterval< T > & | setFrom (const BasicInterval< X > &) |
|
void | shift (const T &len) |
|
void | widen (const T &len, bool allowrev=true) |
|
T | width (bool allowrev=true) const |
|
template<class T>
class BasicInterval< T >
Base class for Interval. Has no virtual functions and can hence be used in places where no virtual functions are allowed (e.g. large memcpy operations. Does not have sort, clone and scale functions. If you need then, use the Interval<T> instead.
<>