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

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.
 

Detailed Description

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

Definition at line 25 of file Prismatic.h.

Constructor & Destructor Documentation

◆ PrismaticFrame() [1/2]

agx::PrismaticFrame::PrismaticFrame ( )

Default constructor: translational axis is along Z.

◆ ~PrismaticFrame()

agx::PrismaticFrame::~PrismaticFrame ( )

Destructor.

◆ PrismaticFrame() [2/2]

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

Constructor.

Parameters
point- a point lying on the axis
axis- translational axis

Member Function Documentation

◆ getAxis()

const Vec3 & agx::PrismaticFrame::getAxis ( ) const
Returns
the translational axis

◆ set()

void agx::PrismaticFrame::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::PrismaticFrame::setAxis ( const Vec3 &  axis)

Set the translational axis.

◆ setPoint()

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

Provide a point lying on the axis.


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