OpendTect 8.0
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
IntervalND< T > Class Template Reference

ranges in N dimensions. More...

#include <ranges.h>

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 >

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-2025