MIRA
Public Member Functions | List of all members
CRSplineInterpolator Class Reference

1D cubic Hermite spline interpolator. More...

#include <math/CRSplineInterpolator.h>

Inheritance diagram for CRSplineInterpolator:
Inheritance graph
[legend]

Public Member Functions

bool canExtrapolate () const
 
int samples () const
 
int samplesBefore () const
 
int samplesAfter () const
 
template<typename Tx , typename Ty , typename ContainerTx , typename ContainerTy >
Ty apply (const ContainerTx &x, const ContainerTy &y, const Tx &xx)
 

Detailed Description

1D cubic Hermite spline interpolator.

Tangents in the control nodes are computed according to Catmull-Rom-Spline (CRSpline).

Member Function Documentation

◆ canExtrapolate()

bool canExtrapolate ( ) const
inline

◆ samples()

int samples ( ) const
inline

◆ samplesBefore()

int samplesBefore ( ) const
inline

◆ samplesAfter()

int samplesAfter ( ) const
inline

◆ apply()

Ty apply ( const ContainerTx &  x,
const ContainerTy &  y,
const Tx &  xx 
)
inline

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