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