![]() |
OpendTect
7.0
|
base class for Interval<T> More...
Public Member Functions | |
BasicInterval () | |
BasicInterval (const BasicInterval< T > &) | |
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 |
Static Public Member Functions | |
static BasicInterval< T > | udf () |
Public Attributes | |
T | start |
T | stop |
base class for Interval<T>
Has no virtual functions and can therefore be used in places where virtual functions are not a good idea (e.g. large memcpy operations). Does not have sort, clone and scale functions, these are in Interval<T>.
<>
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inline |
|
inline |
T BasicInterval< T >::start |
T BasicInterval< T >::stop |
Generated at 02/08/2024 10:19:33 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024