![]() |
OpendTect
7.0
|
Public Member Functions | |
Interval () | |
Interval (const BasicInterval< T > &) | |
Interval (const T &start, const T &stop) | |
virtual | ~Interval () |
virtual Interval< T > * | clone () const |
virtual bool | hasStep () const |
virtual bool | isUdf () const |
virtual void | limitTo (const Interval< T > &) |
virtual void | scale (const T &) |
virtual void | setUdf () |
virtual void | sort (bool asc=true) |
![]() | |
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 Interval< T > | udf () |
![]() | |
static BasicInterval< T > | udf () |
Additional Inherited Members | |
![]() | |
T | start |
T | stop |
Interval of values.
Note that start does not need be lower than stop. Because of that, some parameters can be passed, and there is a sort() method.
<>
|
inline |
Reimplemented in StepInterval< T >, StepInterval< double >, StepInterval< float >, StepInterval< int >, and StepInterval< od_int64 >.
|
inlinevirtual |
Reimplemented in StepInterval< T >, StepInterval< double >, StepInterval< float >, StepInterval< int >, and StepInterval< od_int64 >.
|
inlinevirtual |
Reimplemented in StepInterval< T >, StepInterval< double >, StepInterval< float >, StepInterval< int >, and StepInterval< od_int64 >.
Reimplemented in StepInterval< T >, StepInterval< od_int64 >, StepInterval< int >, StepInterval< float >, and StepInterval< double >.
|
inlinevirtual |
Reimplemented in StepInterval< T >, StepInterval< od_int64 >, StepInterval< int >, StepInterval< float >, and StepInterval< double >.
|
inlinevirtual |
Reimplemented in StepInterval< T >, StepInterval< double >, StepInterval< float >, StepInterval< int >, and StepInterval< od_int64 >.
|
inlinevirtual |
Reimplemented in StepInterval< T >, StepInterval< double >, StepInterval< float >, StepInterval< int >, and StepInterval< od_int64 >.
Generated at 02/08/2024 10:19:34 for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024