JSci.physics
Class ConstantTorque3D
java.lang.Object
JSci.physics.Torque3D
JSci.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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Tx
protected final double Tx
Ty
protected final double Ty
Tz
protected final double Tz
ConstantTorque3D
public ConstantTorque3D(double wx,
double wy,
double wz)
- Constructs a torque.
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