kinetic
Class PaceInOut

java.lang.Object
  |
  +--kinetic.TimeFilter
        |
        +--kinetic.PaceInOut
All Implemented Interfaces:
java.io.Serializable

public class PaceInOut
extends TimeFilter

Time filter that will perform a slow-in slow-out pacing operation on a system. In and out range between (0,0) = slow start and stop, (1,1) = fast start and stop

See Also:
Serialized Form

Field Summary
 kinetic.KineticProperty in
          maintains starting speed
 kinetic.KineticProperty out
          maintains ending speed
 
Fields inherited from class kinetic.TimeFilter
duration, isDone, properties
 
Constructor Summary
PaceInOut(double new_in, double new_out, double dur)
          creates a new instance of PaceInout
 
Method Summary
 double apply(double time)
          performs calculation on input vluae of time
 
Methods inherited from class kinetic.TimeFilter
clear, getDuration, getPropertyList, isDone, PrepareVariables, reset, setDuration
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

in

public kinetic.KineticProperty in
maintains starting speed


out

public kinetic.KineticProperty out
maintains ending speed

Constructor Detail

PaceInOut

public PaceInOut(double new_in,
                 double new_out,
                 double dur)
creates a new instance of PaceInout

Parameters:
new_in - start speed
new_out - end speed
dur - lifespan - ms
Method Detail

apply

public double apply(double time)
performs calculation on input vluae of time

Specified by:
apply in class TimeFilter
Parameters:
time - input value of time
Returns:
processed output value of time