com.yobotics.simulationconstructionset.scripts
Class DisturbanceScriptEntry

java.lang.Object
  extended by com.yobotics.simulationconstructionset.scripts.DisturbanceScriptEntry
All Implemented Interfaces:
java.lang.Comparable<java.lang.Object>

public class DisturbanceScriptEntry
extends java.lang.Object
implements java.lang.Comparable<java.lang.Object>


Constructor Summary
DisturbanceScriptEntry(double time, double magnitude, javax.vecmath.Vector3d direction, double duration)
           
DisturbanceScriptEntry(double time, javax.vecmath.Vector3d forceVector, double duration)
           
 
Method Summary
 int compareTo(java.lang.Object disturbanceScriptEntry)
           
 double getDuration()
           
 javax.vecmath.Vector3d getForceVector()
           
 double getTime()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DisturbanceScriptEntry

public DisturbanceScriptEntry(double time,
                              double magnitude,
                              javax.vecmath.Vector3d direction,
                              double duration)

DisturbanceScriptEntry

public DisturbanceScriptEntry(double time,
                              javax.vecmath.Vector3d forceVector,
                              double duration)
Method Detail

compareTo

public int compareTo(java.lang.Object disturbanceScriptEntry)
Specified by:
compareTo in interface java.lang.Comparable<java.lang.Object>

getTime

public double getTime()

getForceVector

public javax.vecmath.Vector3d getForceVector()

getDuration

public double getDuration()