|
| Interval () |
|
| Interval (const BasicInterval< T > &b) |
|
| Interval (const T &start, const T &stop) |
|
virtual | ~Interval () |
|
virtual Interval< T > * | clone () const |
|
virtual bool | hasStep () const |
|
virtual bool | isUdf () const |
|
virtual void | scale (const T &) |
|
virtual void | setUdf () |
|
virtual void | sort (bool asc=true) |
|
| 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 Interval< T >
Interval of values.
Note that start does not need to be lower than stop. That's why there is a sort() method.
<>