com.yobotics.simulationconstructionset.util.perturbance
Class ForcePerturbance

java.lang.Object
  extended by com.yobotics.simulationconstructionset.util.perturbance.ForcePerturbance
All Implemented Interfaces:
DirectedPerturbance

public class ForcePerturbance
extends java.lang.Object
implements DirectedPerturbance


Constructor Summary
ForcePerturbance(ForcePerturbable forcePerturbable, double magnitude, double duration, double ballVelocityMagnitudeForViz, YoVariableRegistry parentRegistry)
           
 
Method Summary
 void doEveryTick()
           
 double getBallMass()
           
 double getBallVelocityMagnitude()
           
 void perturb(javax.vecmath.Vector3d direction)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ForcePerturbance

public ForcePerturbance(ForcePerturbable forcePerturbable,
                        double magnitude,
                        double duration,
                        double ballVelocityMagnitudeForViz,
                        YoVariableRegistry parentRegistry)
Method Detail

perturb

public void perturb(javax.vecmath.Vector3d direction)
Specified by:
perturb in interface DirectedPerturbance

getBallVelocityMagnitude

public double getBallVelocityMagnitude()
Specified by:
getBallVelocityMagnitude in interface DirectedPerturbance

getBallMass

public double getBallMass()
Specified by:
getBallMass in interface DirectedPerturbance

doEveryTick

public void doEveryTick()
Specified by:
doEveryTick in interface DirectedPerturbance

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object