autoPtr< subBody > clone() const
Return clone of this subBody.
subBody(const autoPtr< rigidBody > &bodyPtr, const word &masterName, const label masterID, const spatialTransform &masterXT)
Construct a merged version of the given rigidBody.
const word & name() const
Return the body name.
const rigidBody & body() const
Return the original body from which this sub-body was constructed.
const word & masterName() const
Return the master body name.
label masterID() const
Return the master body Id.
const spatialTransform & masterXT() const
Return the transform with respect to the master body.