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.
-
-
Constructor Summary
Constructors Constructor and Description ConstantTorque3D(double wx, double wy, double wz)Constructs a torque.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description Torque3Dadd(ConstantTorque3D T)Returns the addition of this torque and another.doublegetXComponent(double t)doublegetYComponent(double t)doublegetZComponent(double t)Torque3Dsubtract(ConstantTorque3D T)Returns the subtraction of this torque by another.
-
-
-
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:
getXComponentin classTorque3D
-
getYComponent
public double getYComponent(double t)
- Specified by:
getYComponentin classTorque3D
-
getZComponent
public double getZComponent(double t)
- Specified by:
getZComponentin classTorque3D
-
-
DMelt 3.0 © DataMelt by jWork.ORG