Interface TimeInterpolatableBuffer.InterpolateFunction<T>

Enclosing class:
TimeInterpolatableBuffer<T>

public static interface TimeInterpolatableBuffer.InterpolateFunction<T>
  • Method Summary

    Modifier and Type Method Description
    T interpolate​(T start, T end, double t)
    Return the interpolated value.
  • Method Details

    • 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.