OpendTect  7.0
Public Member Functions | List of all members
MyPointBasedMathFunction Class Reference
Inheritance diagram for MyPointBasedMathFunction:
[legend]

Public Member Functions

 MyPointBasedMathFunction (PointBasedMathFunction::InterpolType t=PointBasedMathFunction::Poly, PointBasedMathFunction::ExtrapolType e=PointBasedMathFunction::ExtraPolGradient)
 
float myGetValue (float x) const
 
float myInterpVal (float x) const
 
float myOutsideVal (float x) const
 
void replace (int idx, float x, float y)
 
- Public Member Functions inherited from BendPointBasedMathFunction< xT, yT >
 BendPointBasedMathFunction (InterpolType t=Linear, ExtrapolType extr=EndVal)
 
void add (xT x, yT y)
 
void add (xT x, yT y, bool checkforduplicates)
 
bool extrapolate () const
 
ExtrapolType extrapolateType () const
 
yT getNDValue (const xT *p) const override
 
yT getValue (xT x) const override
 
InterpolType interpolType () const
 
bool isEmpty () const
 
void remove (int idx)
 
void setEmpty ()
 
void setExtrapolateType (ExtrapolType t)
 
void setInterpolType (InterpolType t)
 
void setXValue (int idx, xT x)
 
int size () const
 
const TypeSet< xT > & xVals () const
 
const TypeSet< yT > & yVals () const
 
- Public Member Functions inherited from MathFunction< yT, xT >
yT getNDValue (const xT *pos) const override
 
int getNrDim () const override
 
- Public Member Functions inherited from MathFunctionND< RT, PT >
virtual ~MathFunctionND ()
 
virtual RT getNDValue (const PT *) const =0
 

Additional Inherited Members

- Public Types inherited from BendPointBasedMathFunction< xT, yT >
enum  ExtrapolType { None , EndVal , ExtraPolGradient }
 
enum  InterpolType { Linear , Poly , Snap }
 
- Protected Member Functions inherited from BendPointBasedMathFunction< xT, yT >
int baseIdx (xT) const
 
yT interpVal (xT) const
 
yT outsideVal (xT) const
 
yT snapVal (xT) const
 
- Protected Attributes inherited from BendPointBasedMathFunction< xT, yT >
ExtrapolType extrapol_
 
InterpolType itype_
 
TypeSet< xT > x_
 
TypeSet< yT > y_
 

Detailed Description

<>

Constructor & Destructor Documentation

◆ MyPointBasedMathFunction()

Member Function Documentation

◆ myGetValue()

float MyPointBasedMathFunction::myGetValue ( float  x) const
inline

◆ myInterpVal()

float MyPointBasedMathFunction::myInterpVal ( float  x) const
inline

◆ myOutsideVal()

float MyPointBasedMathFunction::myOutsideVal ( float  x) const
inline

◆ replace()

void MyPointBasedMathFunction::replace ( int  idx,
float  x,
float  y 
)
inline

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