Class MathUtils.Interpolate

  • java.lang.Object
    • uk.ac.qmul.eecs.depic.patterns.MathUtils.Interpolate
  • Enclosing class:
    MathUtils


    public static class MathUtils.Interpolate
    extends java.lang.Object
    Calculates values at any time in a sequence by interpolating the sequence values. A sequence is a finite series of float values at given times. In order to get values at any times, interpolation is necessary. This class can be useful to build a graph out of the sequence values. Of course, as the interpolation changes, the graph changes as well, as values at times different from those specified by the sequence will be calculated differently.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      float linear(float time) 
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • Interpolate

        public Interpolate(Sequence sequence)
    • Method Detail

      • linear

        public float linear(float time)