chrono::ChLinkMaskLF Class Reference

Description

Specialized ChLinkMask class, for constraint equations of the ChLinkLock link.

#include <ChLinkMask.h>

Inheritance diagram for chrono::ChLinkMaskLF:
Collaboration diagram for chrono::ChLinkMaskLF:

Public Member Functions

 ChLinkMaskLF ()
 Create a ChLinkMaskLF which has 7 scalar constraints of class ChConstraintTwoBodies(). More...
 
 ChLinkMaskLF (const ChLinkMaskLF &other)
 
virtual ChLinkMaskLFClone () const override
 "Virtual" copy constructor (covariant return type).
 
void SetLockMask (bool x, bool y, bool z, bool e0, bool e1, bool e2, bool e3)
 Set all mask data at once.
 
ChConstraintTwoBodiesConstr_X ()
 Obtain the reference to specific scalar constraint data in the collection of this link mask. More...
 
ChConstraintTwoBodiesConstr_Y ()
 
ChConstraintTwoBodiesConstr_Z ()
 
ChConstraintTwoBodiesConstr_E0 ()
 
ChConstraintTwoBodiesConstr_E1 ()
 
ChConstraintTwoBodiesConstr_E2 ()
 
ChConstraintTwoBodiesConstr_E3 ()
 
virtual void ArchiveOUT (ChArchiveOut &marchive) override
 Method to allow serialization of transient data to archives.
 
virtual void ArchiveIN (ChArchiveIn &marchive) override
 Method to allow deserialization of transient data from archives.
 

Additional Inherited Members

Constructor & Destructor Documentation

chrono::ChLinkMaskLF::ChLinkMaskLF ( )

Create a ChLinkMaskLF which has 7 scalar constraints of class ChConstraintTwoBodies().

This is useful in case it must be used for the ChLinkLock link.

Member Function Documentation

ChConstraintTwoBodies& chrono::ChLinkMaskLF::Constr_X ( )

Obtain the reference to specific scalar constraint data in the collection of this link mask.