Simbody
|
A constant torque to a body. More...
#include <Force.h>
Public Member Functions | |
ConstantTorque (GeneralForceSubsystem &forces, const MobilizedBody &body, const Vec3 &torque) | |
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::SimTK_INSERT_DERIVED_HANDLE_DECLARATIONS | ( | ConstantTorque | , |
ConstantTorqueImpl | , | ||
Force | |||
) |