Class SinusDecreaseVariation

  • All Implemented Interfaces:
    IMovement

    public class SinusDecreaseVariation
    extends AbstractMovement
    This movement goes from 0 to 0 with intermediate values between -amplitude and amplitude an decreasing with time. This is not an easing equation.
    • Constructor Summary

      Constructors 
      Constructor Description
      SinusDecreaseVariation​(int nb, double amplitude)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      double getValue​(double step)
      Get value at step 'step'
      • Methods inherited from class java.lang.Object

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

      • variations

        int variations
      • amplitude

        double amplitude
    • Constructor Detail

      • SinusDecreaseVariation

        public SinusDecreaseVariation​(int nb,
                                      double amplitude)