Package edu.wpi.first.math.interpolation
Interface TimeInterpolatableBuffer.InterpolateFunction<T>
-
- Enclosing class:
- TimeInterpolatableBuffer<T>
public static interface TimeInterpolatableBuffer.InterpolateFunction<T>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
interpolate(T start, T end, double t)
Return the interpolated value.
-
-
-
Method Detail
-
interpolate
T interpolate(T start, T end, double t)
Return the interpolated value. This object is assumed to be the starting position, or lower bound.- Parameters:
start
- The lower bound, or start.end
- The upper bound, or end.t
- How far between the lower and upper bound we are. This should be bounded in [0, 1].- Returns:
- The interpolated value.
-
-