ICF 3.0.5.47
Technical documentation of ICF Libraries
imath::CAkimaInterpolator Class Reference

1D interpolation using Akima method. More...

#include <CAkimaInterpolator.h>

Inheritance diagram for imath::CAkimaInterpolator:
Collaboration diagram for imath::CAkimaInterpolator:

Classes

struct  Node
 

Public Types

typedef QMap< double, NodeNodes
 
- Public Types inherited from imath::TIMathFunction< Argument, Result >
typedef Argument ArgumentType
 
typedef Result ResultType
 

Public Member Functions

 CAkimaInterpolator ()
 
 CAkimaInterpolator (double *positions, double *values, int nodesCount)
 
void SetNodes (double *positions, double *values, int nodesCount) override
 
bool GetValueAt (const double &argument, double &result) const override
 
double GetValueAt (const double &argument) const override
 
- Public Member Functions inherited from imath::IFunctionInterpolator
- Public Member Functions inherited from imath::TIMathFunction< Argument, Result >
virtual bool GetValueAt (const Argument &argument, Result &result) const =0
 Get function value for specified argument value.
 
virtual Result GetValueAt (const Argument &argument) const =0
 Get function value for specified argument value.
 

Protected Attributes

Nodes m_nodes
 

Detailed Description

1D interpolation using Akima method.

Definition at line 23 of file CAkimaInterpolator.h.

Member Typedef Documentation

◆ Nodes

Definition at line 32 of file CAkimaInterpolator.h.

Constructor & Destructor Documentation

◆ CAkimaInterpolator() [1/2]

imath::CAkimaInterpolator::CAkimaInterpolator ( )

◆ CAkimaInterpolator() [2/2]

imath::CAkimaInterpolator::CAkimaInterpolator ( double * positions,
double * values,
int nodesCount )

Member Function Documentation

◆ GetValueAt() [1/2]

double imath::CAkimaInterpolator::GetValueAt ( const double & argument) const
override

◆ GetValueAt() [2/2]

bool imath::CAkimaInterpolator::GetValueAt ( const double & argument,
double & result ) const
override

◆ SetNodes()

void imath::CAkimaInterpolator::SetNodes ( double * positions,
double * values,
int nodesCount )
overridevirtual

Member Data Documentation

◆ m_nodes

Nodes imath::CAkimaInterpolator::m_nodes
protected

Definition at line 45 of file CAkimaInterpolator.h.


The documentation for this class was generated from the following file:

© Witold Gantzke and Kirill Lepskiy