|
AGXDynamics
2.31.1.0
|
Data holder class for elementary constraint Dot2Slack. More...
#include <ElementaryConstraintData.h>
Inheritance diagram for agx::Dot2SlackData:Public Member Functions | |
| Dot2SlackData () | |
| Default constructor used during restore of this object. More... | |
| Dot2SlackData (const agx::AttachmentPair *ap, agx::Attachment::Transformed dir) | |
| Construct given constraint attachment pair and direction to be orthogonal to the separation vector. More... | |
| virtual | ~Dot2SlackData () |
| Destructor. More... | |
| const agx::Attachment * | getAttachment (agx::UInt index) const |
| const agx::AttachmentPair * | getAttachmentPair () const |
| const agx::Vec3 & | getCmToAnchorPosition (agx::UInt index) const |
| const agx::Vec3 & | getDir () const |
| virtual agx::Int | getReferenceBody () const |
| const agx::Vec3 & | getSeparation () const |
| agx::Real | getSlack () const |
| const agx::Vec3 & | getWorldToAnchorPosition (agx::UInt index) const |
| virtual void | restore (agxStream::InputArchive &in) override |
| Restore data from stream. More... | |
| virtual void | set (const agx::AttachmentPair *ap) |
| Assign new attachment pair. More... | |
| void | setSlack (agx::Real slack) |
| virtual void | store (agxStream::OutputArchive &out) const override |
| Store data to stream. More... | |
Protected Attributes | |
| const agx::AttachmentPair * | m_ap |
| agx::Int | m_body |
| agx::Attachment::Transformed | m_dir |
| agx::Real | m_slack |
Data holder class for elementary constraint Dot2Slack.
Definition at line 252 of file ElementaryConstraintData.h.
| agx::Dot2SlackData::Dot2SlackData | ( | ) |
Default constructor used during restore of this object.
| agx::Dot2SlackData::Dot2SlackData | ( | const agx::AttachmentPair * | ap, |
| agx::Attachment::Transformed | dir | ||
| ) |
Construct given constraint attachment pair and direction to be orthogonal to the separation vector.
| ap | - attachment pair |
| dir | - direction reference attachment 1 to be orthogonal to the separation vector |
|
virtual |
Destructor.
|
inlineinherited |
| index | - index of the attachment (0 or 1) |
index Definition at line 67 of file ElementaryConstraintData.h.
References agxAssert.
|
inlineinherited |
Definition at line 61 of file ElementaryConstraintData.h.
References agxAssert.
|
inlineinherited |
Definition at line 77 of file ElementaryConstraintData.h.
References agxAssert, and agx::Attachment::CM_TO_ANCHOR_POS.
|
inlineinherited |
Definition at line 230 of file ElementaryConstraintData.h.
|
inlinevirtualinherited |
Definition at line 225 of file ElementaryConstraintData.h.
|
inlineinherited |
Definition at line 72 of file ElementaryConstraintData.h.
References agxAssert, and agx::AttachmentPair::SEPARATION.
|
inline |
Definition at line 284 of file ElementaryConstraintData.h.
|
inlineinherited |
Definition at line 82 of file ElementaryConstraintData.h.
References agxAssert, and agx::Attachment::ANCHOR_POS.
|
overridevirtual |
Restore data from stream.
Reimplemented from agx::Dot2Data.
|
virtualinherited |
Definition at line 289 of file ElementaryConstraintData.h.
|
overridevirtual |
Store data to stream.
Reimplemented from agx::Dot2Data.
|
protectedinherited |
Definition at line 95 of file ElementaryConstraintData.h.
Referenced by agx::ConstraintAngleBasedData::getDir1(), and agx::ConstraintAngleBasedData::getDir2().
|
protectedinherited |
Definition at line 244 of file ElementaryConstraintData.h.
|
protectedinherited |
Definition at line 243 of file ElementaryConstraintData.h.
|
protected |
Definition at line 295 of file ElementaryConstraintData.h.