org.jscience.physics.kinematics
Class ConstantForce2D

java.lang.Object
  extended by org.jscience.physics.kinematics.Force
      extended by org.jscience.physics.kinematics.Force2D
          extended by org.jscience.physics.kinematics.ConstantForce2D
All Implemented Interfaces:
java.io.Serializable

public class ConstantForce2D
extends Force2D

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

See Also:
Serialized Form

Constructor Summary
ConstantForce2D(AbstractClassicalParticle p, AbstractDoubleVector doubleVector)
          Constructs a force for a 2D particle.
 
Method Summary
 AbstractDoubleVector getVector(double t)
          DOCUMENT ME!
 
Methods inherited from class org.jscience.physics.kinematics.Force
getDimension, getIntensity, getParticle
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConstantForce2D

public ConstantForce2D(AbstractClassicalParticle p,
                       AbstractDoubleVector doubleVector)
Constructs a force for a 2D particle.

Parameters:
p - DOCUMENT ME!
doubleVector - DOCUMENT ME!
Throws:
IllegalDimensionException - DOCUMENT ME!
java.lang.IllegalArgumentException - DOCUMENT ME!
Method Detail

getVector

public AbstractDoubleVector getVector(double t)
DOCUMENT ME!

Specified by:
getVector in class Force2D
Parameters:
t - DOCUMENT ME!
Returns:
DOCUMENT ME!