OpendTect  6.6
Public Member Functions | Protected Attributes | List of all members
IntervalND< T > Class Template Reference

Class to store ranges in N dimensions. More...

Public Member Functions

 IntervalND (int ndim_)
 
virtual ~IntervalND ()
 
const Interval< T > & getRange (int dim) const
 
template<class X >
void include (const X &val)
 
template<class X >
bool includes (const X &val, bool allowrev) const
 
bool intersects (const IntervalND< T > &, bool allowrev) const
 
bool isSet () const
 
int nDim () const
 
template<class X >
void setRange (const X &start, const X &stop)
 
template<class X >
void setRange (const X &val)
 

Protected Attributes

bool isset
 
int ndim
 
Interval< T > * ranges
 

Detailed Description

template<class T>
class IntervalND< T >

Class to store ranges in N dimensions.

<>

Constructor & Destructor Documentation

◆ IntervalND()

template<class T >
IntervalND< T >::IntervalND ( int  ndim_)
inline

◆ ~IntervalND()

template<class T >
virtual IntervalND< T >::~IntervalND ( )
inlinevirtual

Member Function Documentation

◆ getRange()

template<class T >
const Interval<T>& IntervalND< T >::getRange ( int  dim) const
inline

◆ include()

template<class T >
template<class X >
void IntervalND< T >::include ( const X &  val)
inline

◆ includes()

template<class T >
template<class X >
bool IntervalND< T >::includes ( const X &  val,
bool  allowrev 
) const
inline

◆ intersects()

template<class T >
bool IntervalND< T >::intersects ( const IntervalND< T > &  b,
bool  allowrev 
) const
inline

◆ isSet()

template<class T >
bool IntervalND< T >::isSet ( ) const
inline

◆ nDim()

template<class T >
int IntervalND< T >::nDim ( ) const
inline

◆ setRange() [1/2]

template<class T >
template<class X >
void IntervalND< T >::setRange ( const X &  start,
const X &  stop 
)
inline

◆ setRange() [2/2]

template<class T >
template<class X >
void IntervalND< T >::setRange ( const X &  val)
inline

Member Data Documentation

◆ isset

template<class T >
bool IntervalND< T >::isset
protected

◆ ndim

template<class T >
int IntervalND< T >::ndim
protected

◆ ranges

template<class T >
Interval<T>* IntervalND< T >::ranges
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022