Force::TwoPointConstantForce Class Reference

#include <Force.h>

Inheritance diagram for Force::TwoPointConstantForce:

Force PIMPLHandle

List of all members.


Detailed Description

A constant force f (a signed scalar) which acts along the line between two points, specified as a station on each of two bodies.

A positive force acts to separate the points; negative pulls them together. The force magnitude is independent of the separation between the points. This force does not contribute to the potential energy, so adding it to a system will cause energy not to be conserved. It is an error if the two points become coincident, since we are unable to determine a direction for the force in that case.

Public Member Functions

 TwoPointConstantForce (GeneralForceSubsystem &forces, const MobilizedBody &body1, const Vec3 &station1, const MobilizedBody &body2, const Vec3 &station2, Real force)
 Create a TwoPointConstantForce.
 SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (TwoPointConstantForce, TwoPointConstantForceImpl, Force)


Constructor & Destructor Documentation

TwoPointConstantForce ( GeneralForceSubsystem forces,
const MobilizedBody body1,
const Vec3 station1,
const MobilizedBody body2,
const Vec3 station2,
Real  force 
)

Create a TwoPointConstantForce.

Parameters:
forces the subsystem to which this force should be added
body1 the first body to which the force should be applied
station1 the location on the first body at which the force should be applied
body2 the second body to which the force should be applied
station2 the location on the second body at which the force should be applied
force the magnitude of the force to apply


Member Function Documentation

SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS ( TwoPointConstantForce  ,
TwoPointConstantForceImpl  ,
Force   
)


The documentation for this class was generated from the following file:

Generated on Fri Sep 26 07:44:32 2008 for SimTKcore by  doxygen 1.5.6