Class SinusDecreaseVariation

java.lang.Object
org.eclipse.nebula.cwt.animation.movement.AbstractMovement
org.eclipse.nebula.cwt.animation.movement.SinusDecreaseVariation
All Implemented Interfaces:
IMovement

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

    Fields 
    Modifier and Type Field Description
    (package private) double amplitude  
    (package private) int variations  

    Fields inherited from class org.eclipse.nebula.cwt.animation.movement.AbstractMovement

    duration, max, min
  • Constructor Summary

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

    Modifier and Type Method Description
    double getValue​(double step)
    Get value at step 'step'

    Methods inherited from class org.eclipse.nebula.cwt.animation.movement.AbstractMovement

    init

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait