JSci.physics
Class ConstantTorque3D

java.lang.Object
  extended byJSci.physics.Torque3D
      extended byJSci.physics.ConstantTorque3D

public class ConstantTorque3D
extends Torque3D

The ConstantTorque3D class provides an object for encapsulating constant torques in 3D.


Field Summary
protected  double Tx
           
protected  double Ty
           
protected  double Tz
           
 
Constructor Summary
ConstantTorque3D(double wx, double wy, double wz)
          Constructs a torque.
 
Method Summary
 Torque3D add(ConstantTorque3D T)
          Returns the addition of this torque and another.
 double getXComponent(double t)
           
 double getYComponent(double t)
           
 double getZComponent(double t)
           
 Torque3D subtract(ConstantTorque3D T)
          Returns the subtraction of this torque by another.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

Tx

protected final double Tx

Ty

protected final double Ty

Tz

protected final double Tz
Constructor Detail

ConstantTorque3D

public ConstantTorque3D(double wx,
                        double wy,
                        double wz)
Constructs a torque.

Method Detail

add

public Torque3D add(ConstantTorque3D T)
Returns the addition of this torque and another.


subtract

public Torque3D subtract(ConstantTorque3D T)
Returns the subtraction of this torque by another.


getXComponent

public double getXComponent(double t)
Specified by:
getXComponent in class Torque3D

getYComponent

public double getYComponent(double t)
Specified by:
getYComponent in class Torque3D

getZComponent

public double getZComponent(double t)
Specified by:
getZComponent in class Torque3D