const vector & c() const
Return the centre of mass of the rigid-body.
rigidBodyInertia()
Null constructor, initializes to zero.
scalar m() const
Return the mass of the rigid-body.
const symmTensor & Ic() const
Return the inertia tensor of the rigid-body about the centre of mass.
virtual void write(Ostream &) const
Write.
rigidBody(const word &name, const scalar &m, const vector &c, const symmTensor &Ic)
Construct from mass, centre of mass and moment of inertia tensor.
const word & name() const
Return name.