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.
This specialised rigidBody holds the original body after it has been merged into a master...
const word & masterName() const
Return the master body name.
label masterID() const
Return the master body Id.
void write(Ostream &) const
Write.
const spatialTransform & masterXT() const
Return the transform with respect to the master body.