AGX Dynamics 2.42.3.1
Loading...
Searching...
No Matches
agx::CylindricalJointFrame Class Reference

Helper function to define the reference frame used by the prismatic constraint. More...

#include <CylindricalJoint.h>

+ Inheritance diagram for agx::CylindricalJointFrame:

Public Member Functions

 CylindricalJointFrame ()
 Default constructor.
 
 CylindricalJointFrame (const Vec3 &point, const Vec3 &axis)
 
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.
 

Detailed Description

Helper function to define the reference frame used by the prismatic constraint.

Definition at line 30 of file CylindricalJoint.h.

Constructor & Destructor Documentation

◆ CylindricalJointFrame() [1/2]

agx::CylindricalJointFrame::CylindricalJointFrame ( )
inline

Default constructor.

Definition at line 34 of file CylindricalJoint.h.

◆ CylindricalJointFrame() [2/2]

agx::CylindricalJointFrame::CylindricalJointFrame ( const Vec3 &  point,
const Vec3 &  axis 
)

Member Function Documentation

◆ getAxis()

const Vec3 & agx::CylindricalJointFrame::getAxis ( ) const

◆ set()

void agx::CylindricalJointFrame::set ( const Vec3 &  point,
const Vec3 &  axis 
)

Configure everything at once by providing a line with given axis, passing through given point.

◆ setAxis()

void agx::CylindricalJointFrame::setAxis ( const Vec3 &  axis)

Set the translational axis.

◆ setPoint()

void agx::CylindricalJointFrame::setPoint ( const Vec3 &  point)

Provide a point lying on the axis.


The documentation for this class was generated from the following file: