OpendTect  7.0
Public Member Functions | Protected Attributes | List of all members
AlongVectorFunction< RT, PT > Class Template Reference

A MathFunction that cuts through another mathfunction with higher number of dimensions. More...

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

Public Member Functions

 AlongVectorFunction (const MathFunctionND< RT, PT > &func_, const PT *P_, const PT *N_)
 
RT getValue (PT lambda) const override
 
- Public Member Functions inherited from MathFunction< RT, PT >
RT getNDValue (const PT *pos) const override
 
int getNrDim () const override
 
- Public Member Functions inherited from MathFunctionND< RT, PT >
virtual ~MathFunctionND ()
 

Protected Attributes

const MathFunctionND< RT, PT > & func
 
const PT * N
 
const PT * P
 

Detailed Description

template<class RT, class PT>
class AlongVectorFunction< RT, PT >

A MathFunction that cuts through another mathfunction with higher number of dimensions.

A starting point (P) and a vector (N) is used to project a line through a MathFunctionND (func). The value returned is:

f(x) = func(P+N*x)

<>

Constructor & Destructor Documentation

◆ AlongVectorFunction()

template<class RT , class PT >
AlongVectorFunction< RT, PT >::AlongVectorFunction ( const MathFunctionND< RT, PT > &  func_,
const PT *  P_,
const PT *  N_ 
)
inline

Member Function Documentation

◆ getValue()

template<class RT , class PT >
RT AlongVectorFunction< RT, PT >::getValue ( PT  lambda) const
inlineoverridevirtual

Member Data Documentation

◆ func

template<class RT , class PT >
const MathFunctionND<RT,PT>& AlongVectorFunction< RT, PT >::func
protected

◆ N

template<class RT , class PT >
const PT* AlongVectorFunction< RT, PT >::N
protected

◆ P

template<class RT , class PT >
const PT* AlongVectorFunction< RT, PT >::P
protected

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