JSci.physics
Class Force2D

java.lang.Object
  extended by JSci.physics.Force
      extended by JSci.physics.Force2D
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
ConstantForce2D

public abstract class Force2D
extends Force

The Force2D class provides an object for encapsulating forces in 2D.

See Also:
Serialized Form

Constructor Summary
Force2D()
           
 
Method Summary
 AbstractDoubleVector getVector(double t)
          Returns a vector representing this force at a time t.
abstract  double getXComponent(double t)
           
abstract  double getYComponent(double t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Force2D

public Force2D()
Method Detail

getXComponent

public abstract double getXComponent(double t)

getYComponent

public abstract double getYComponent(double t)

getVector

public AbstractDoubleVector getVector(double t)
Description copied from class: Force
Returns a vector representing this force at a time t.

Specified by:
getVector in class Force