Public Member Functions | |
subBody (const autoPtr< rigidBody > &bodyPtr, const word &masterName, const label masterID, const spatialTransform &masterXT) | |
Construct a merged version of the given rigidBody. More... | |
autoPtr< subBody > | clone () const |
Return clone of this subBody. More... | |
const rigidBody & | body () const |
Return the original body from which this sub-body was constructed. More... | |
const word & | name () const |
Return the body name. More... | |
const word & | masterName () const |
Return the master body name. More... | |
label | masterID () const |
Return the master body Id. More... | |
const spatialTransform & | masterXT () const |
Return the transform with respect to the master body. More... | |
void | write (Ostream &) const |
Write. More... | |
|
inline |
Construct a merged version of the given rigidBody.
providing the ID of the master body to which this will be merged and the transform relative to the master
Definition at line 24 of file subBodyI.H.
|
inline |
Return clone of this subBody.
Definition at line 38 of file subBodyI.H.
References autoPtr< T >::New().
|
inline |
Return the original body from which this sub-body was constructed.
Definition at line 46 of file subBodyI.H.
Referenced by rigidBody::merge().
|
inline |
Return the body name.
Definition at line 52 of file subBodyI.H.
Referenced by rigidBodyModel::merge().
|
inline |
Return the master body name.
Definition at line 58 of file subBodyI.H.
|
inline |
Return the master body Id.
Definition at line 64 of file subBodyI.H.
Referenced by rigidBodyModel::join_(), rigidBodyModel::merge(), rigidBodyModel::X0(), and rigidBodyMotion::X00().
|
inline |
Return the transform with respect to the master body.
Definition at line 70 of file subBodyI.H.
Referenced by rigidBodyModel::join_(), rigidBody::merge(), rigidBodyModel::merge(), rigidBodyModel::X0(), and rigidBodyMotion::X00().
void write | ( | Ostream & | os | ) | const |