OpendTect-6_4  6.4
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 ()
 
int nDim () const
 
bool isSet () const
 
const Interval< T > & getRange (int dim) const
 
template<class X >
void setRange (const X &val)
 
template<class X >
void setRange (const X &start, const X &stop)
 
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
 

Protected Attributes

int ndim
 
Interval< T > * ranges
 
bool isset
 

Detailed Description

template<class T>
class IntervalND< T >

Class to store ranges in N dimensions.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Member Data Documentation

template<class T>
bool IntervalND< T >::isset
protected
template<class T>
int IntervalND< T >::ndim
protected
template<class T>
Interval<T>* IntervalND< T >::ranges
protected

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