API
4.0
For C++ developers
|
Convenience class for a generic representation of geometry of a complex Force (or any other object) with multiple points of contact through which forces are applied to bodies. More...
Public Member Functions | |
virtual | ~PointForceDirection () |
PointForceDirection (SimTK::Vec3 point, const PhysicalFrame &frame, SimTK::Vec3 direction, double scale=1) | |
Default constructor takes the point, body, direction and scale as arguments. More... | |
SimTK::Vec3 | point () |
get point of "contact" with on a body defined in the body frame More... | |
const PhysicalFrame & | frame () |
get the body in which the point is defined More... | |
SimTK::Vec3 | direction () |
get direction of the force at the point defined in ground More... | |
double | scale () |
get the scale factor on the force More... | |
void | addToDirection (SimTK::Vec3 newDirection) |
replace the current direction with the resultant with a new direction More... | |
Convenience class for a generic representation of geometry of a complex Force (or any other object) with multiple points of contact through which forces are applied to bodies.
This represents one such point and an array of these objects defines a complete Force distribution (ie. path).
|
inlinevirtual |
|
inline |
Default constructor takes the point, body, direction and scale as arguments.
|
inline |
replace the current direction with the resultant with a new direction
|
inline |
get direction of the force at the point defined in ground
|
inline |
get the body in which the point is defined
|
inline |
get point of "contact" with on a body defined in the body frame
|
inline |
get the scale factor on the force