|
AGX Dynamics 2.42.3.1
|
Helper function to define the reference frame used by the prismatic constraint. More...
#include <Prismatic.h>
Inheritance diagram for agx::PrismaticFrame:Public Member Functions | |
| PrismaticFrame () | |
| Default constructor: translational axis is along Z. | |
| PrismaticFrame (const Vec3 &point, const Vec3 &axis) | |
| Constructor. | |
| ~PrismaticFrame () | |
| Destructor. | |
| const Vec3 & | getAxis () const |
| void | set (const Vec3 &point, const Vec3 &axis) |
| Configure everything at once by providing a line with given axis, passing through given point. | |
| void | setAxis (const Vec3 &axis) |
| Set the translational axis. | |
| void | setPoint (const Vec3 &point) |
| Provide a point lying on the axis. | |
Helper function to define the reference frame used by the prismatic constraint.
Definition at line 25 of file Prismatic.h.
| agx::PrismaticFrame::PrismaticFrame | ( | ) |
Default constructor: translational axis is along Z.
| agx::PrismaticFrame::~PrismaticFrame | ( | ) |
Destructor.
Constructor.
| point | - a point lying on the axis |
| axis | - translational axis |
| const Vec3 & agx::PrismaticFrame::getAxis | ( | ) | const |
Configure everything at once by providing a line with given axis, passing through given point.
| void agx::PrismaticFrame::setAxis | ( | const Vec3 & | axis | ) |
Set the translational axis.
| void agx::PrismaticFrame::setPoint | ( | const Vec3 & | point | ) |
Provide a point lying on the axis.