Interpolation of certain values.
More...
#include </home/werner/origo/vish/ocean/eagle/Interpol.hpp>
List of all members.
Classes
Public Member Functions
-
Interval getInterval (double t) const
- Get the interval around the value t.
-
Value & getKey (int n)
- Get the value of the nth entry, modifyable.
-
const Value & getKey (int n) const
- Get the value of the nth entry, constant.
- int getKeyID (double t) const
- Get the number of the corresponding key frame, given an interpolation value.
-
Value operator() (double x) const
- Evaluate the function at a certain instance.
-
Value & operator[] (double x)
- Add or access an interpolation point (key).
Detailed Description
Interpolation of certain values.
Member Function Documentation
int Eagle::Interpol::getKeyID |
( |
double |
t | ) |
const [inline] |
Get the number of the corresponding key frame, given an interpolation value.
Note that this function is slow, as it has to perform a linear search. Using getInterval() is faster if the absolut index is not required.
The documentation for this class was generated from the following file: