1D linear interpolator.
More...
#include <math/LinearInterpolator.h>
1D linear interpolator.
This interpolator internally uses the lerp() method, and hence can be applied for all types that are supported by the lerp() method or implement their own lerp() method. Does not support extrapolation.
◆ canExtrapolate()
bool canExtrapolate |
( |
| ) |
const |
|
inline |
◆ samples()
◆ 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: