jsci.physics
Class ConstantForce3D

java.lang.Object
  extended by jsci.physics.Force
      extended by jsci.physics.Force3D
          extended by 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.
 
Method Summary
 Force3D add(ConstantForce3D F)
          Returns the addition of this force and another.
 double getXComponent(double t)
           
 double getYComponent(double t)
           
 double getZComponent(double t)
           
 Force3D subtract(ConstantForce3D F)
          Returns the subtraction of this force by another.
 
Methods inherited from class jsci.physics.Force3D
getVector
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantForce3D

public ConstantForce3D(double fx,
                       double fy,
                       double fz)
Constructs a force.

Method Detail

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 ©