OpendTect  7.0
Public Member Functions | Public Attributes | List of all members
Interpolate::PolyReg1DWithUdf< T > Class Template Reference

PolyReg1D which smoothly handles undefined values. More...

Public Member Functions

 PolyReg1DWithUdf ()
 
 PolyReg1DWithUdf (const T *v)
 
 PolyReg1DWithUdf (T vm1, T v0, T v1, T v2)
 
apply (float x) const
 
void set (T vm1, T v0, T v1, T v2)
 

Public Attributes

PolyReg1D< T > intp_
 
bool v0udf_
 
bool v1udf_
 

Detailed Description

template<class T>
class Interpolate::PolyReg1DWithUdf< T >

PolyReg1D which smoothly handles undefined values.

Note that this class requires x to be between 0 and 1 for correct undef handling. Correct means: if the nearest sample is undefined, return undefined. Otherwise always return a value.

<>

Constructor & Destructor Documentation

◆ PolyReg1DWithUdf() [1/3]

template<class T >
Interpolate::PolyReg1DWithUdf< T >::PolyReg1DWithUdf ( )
inline

◆ PolyReg1DWithUdf() [2/3]

template<class T >
Interpolate::PolyReg1DWithUdf< T >::PolyReg1DWithUdf ( const T *  v)
inline

◆ PolyReg1DWithUdf() [3/3]

template<class T >
Interpolate::PolyReg1DWithUdf< T >::PolyReg1DWithUdf ( vm1,
v0,
v1,
v2 
)
inline

Member Function Documentation

◆ apply()

template<class T >
T Interpolate::PolyReg1DWithUdf< T >::apply ( float  x) const
inline

◆ set()

template<class T >
void Interpolate::PolyReg1DWithUdf< T >::set ( vm1,
v0,
v1,
v2 
)
inline

Member Data Documentation

◆ intp_

template<class T >
PolyReg1D<T> Interpolate::PolyReg1DWithUdf< T >::intp_

◆ v0udf_

template<class T >
bool Interpolate::PolyReg1DWithUdf< T >::v0udf_

◆ v1udf_

template<class T >
bool Interpolate::PolyReg1DWithUdf< T >::v1udf_

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