OpendTect  6.6
Public Member Functions | Protected Attributes | List of all members
Array2DFunc< RT, PT, T > Class Template Reference

Adaptor to make an Array2D behave like a MathXYFunction. Will do linear interpolation at the edges, and polynomial interpolation inside. More...

Inheritance diagram for Array2DFunc< RT, PT, T >:
[legend]

Public Member Functions

RT getValue (const PT *p) const
 
RT getValue (PT, PT) const
 
void set (const Array2D< T > &t, bool hasudfs)
 
- Public Member Functions inherited from MathXYFunction< RT, PT >
RT getNDValue (const PT *pos) const
 
int getNrDim () const
 
- Public Member Functions inherited from MathFunctionND< RT, PT >
virtual ~MathFunctionND ()
 

Protected Attributes

const Array2D< T > * arr_
 
bool hasudfs_
 
int xsize_
 
int ysize_
 

Detailed Description

template<class RT, class PT, class T>
class Array2DFunc< RT, PT, T >

Adaptor to make an Array2D behave like a MathXYFunction. Will do linear interpolation at the edges, and polynomial interpolation inside.

<>

Member Function Documentation

◆ getValue() [1/2]

template<class RT , class PT , class T >
RT Array2DFunc< RT, PT, T >::getValue ( const PT *  p) const
inline

◆ getValue() [2/2]

template<class RT , class PT , class T >
RT Array2DFunc< RT, PT, T >::getValue ( PT  x,
PT  y 
) const
inlinevirtual

◆ set()

template<class RT , class PT , class T >
void Array2DFunc< RT, PT, T >::set ( const Array2D< T > &  t,
bool  hasudfs 
)
inline

Member Data Documentation

◆ arr_

template<class RT , class PT , class T >
const Array2D<T>* Array2DFunc< RT, PT, T >::arr_
protected

◆ hasudfs_

template<class RT , class PT , class T >
bool Array2DFunc< RT, PT, T >::hasudfs_
protected

◆ xsize_

template<class RT , class PT , class T >
int Array2DFunc< RT, PT, T >::xsize_
protected

◆ ysize_

template<class RT , class PT , class T >
int Array2DFunc< RT, PT, T >::ysize_
protected

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