|
AGX Dynamics
2.37.2.0
|
Specialization for the constraint frame class that add convenient accessors/mutator methods for manipulation of the geometry of the frame for a Hinge. More...
#include <Hinge.h>
Inheritance diagram for agx::HingeFrame:Public Member Functions | |
| HingeFrame () | |
| Default constructor: rotational axis is along Z. More... | |
| HingeFrame (const Vec3 ¢er, const Vec3 &axis) | |
| ~HingeFrame () | |
| const Vec3 & | getAxis () const |
| Get the hinge axis. More... | |
| void | setAxis (const Vec3 &axis) |
| Sets the axis of the hinge in world coordinates. More... | |
| void | setCenter (const Vec3 ¢er) |
| Sets the center of the hinge in world coordinates. More... | |
| void | setHinge (const Vec3 ¢er, const Vec3 &axis) |
| Sets all parameters needed to create a hinge. More... | |
Specialization for the constraint frame class that add convenient accessors/mutator methods for manipulation of the geometry of the frame for a Hinge.
| agx::HingeFrame::HingeFrame | ( | ) |
Default constructor: rotational axis is along Z.
| void agx::HingeFrame::setAxis | ( | const Vec3 & | axis | ) |
Sets the axis of the hinge in world coordinates.
| axis | - Hinge axis in world coordinates |
| void agx::HingeFrame::setCenter | ( | const Vec3 & | center | ) |
Sets the center of the hinge in world coordinates.
| center | - Hinge center position in world coordinates |