|
Simbody
3.4 (development)
|
A constant torque to a body. More...
#include <Force.h>
Inheritance diagram for SimTK::Force::ConstantTorque:Public Member Functions | |
| ConstantTorque (GeneralForceSubsystem &forces, const MobilizedBody &body, const Vec3 &torque) | |
| ConstantTorque () | |
| Default constructor creates an empty handle. | |
| SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS (ConstantTorque, ConstantTorqueImpl, Force) | |
A constant torque to a body.
The torque is a vector fixed forever in the Ground frame. This force does not contribute to the potential energy, so adding it to a system will cause energy not to be conserved.
| SimTK::Force::ConstantTorque::ConstantTorque | ( | GeneralForceSubsystem & | forces, |
| const MobilizedBody & | body, | ||
| const Vec3 & | torque | ||
| ) |
| SimTK::Force::ConstantTorque::ConstantTorque | ( | ) | [inline] |
Default constructor creates an empty handle.
| SimTK::Force::ConstantTorque::SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS | ( | ConstantTorque | , |
| ConstantTorqueImpl | , | ||
| Force | |||
| ) |