step/stepcore
StepCore::Force Class Reference
[Physical forces]
#include <world.h>
Inheritance diagram for StepCore::Force:

Detailed Description
Interface for forces.Force is anything that acts upon bodies changing derivatives of dynamic variables
Definition at line 199 of file world.h.
Public Member Functions | |
| virtual void | calcForce (bool calcVariances)=0 |
| virtual | ~Force () |
Constructor & Destructor Documentation
Member Function Documentation
| virtual void StepCore::Force::calcForce | ( | bool | calcVariances | ) | [pure virtual] |
Calculate force.
Bodies can be accessed through this->world()->bodies()
Implemented in StepCore::CoulombForce, StepCore::GasLJForce, StepCore::GravitationForce, StepCore::WeightForce, StepCore::LinearMotor, StepCore::CircularMotor, and StepCore::Spring.
The documentation for this class was generated from the following file:
KDE 4.2 API Reference