jsci.physics
Class ConstantForce3D
java.lang.Object
jsci.physics.Force
jsci.physics.Force3D
jsci.physics.ConstantForce3D
- All Implemented Interfaces:
- Serializable
public class ConstantForce3D
- extends Force3D
The ConstantForce3D class provides an object for encapsulating constant forces in 3D.
- See Also:
- Serialized Form
Constructor Summary |
ConstantForce3D(double fx,
double fy,
double fz)
Constructs a force. |
ConstantForce3D
public ConstantForce3D(double fx,
double fy,
double fz)
- Constructs a force.
add
public Force3D add(ConstantForce3D F)
- Returns the addition of this force and another.
subtract
public Force3D subtract(ConstantForce3D F)
- Returns the subtraction of this force by another.
getXComponent
public double getXComponent(double t)
- Specified by:
getXComponent
in class Force3D
getYComponent
public double getYComponent(double t)
- Specified by:
getYComponent
in class Force3D
getZComponent
public double getZComponent(double t)
- Specified by:
getZComponent
in class Force3D
jHepWork 3.1 ©