MassStructure:
--------------------------------------------------------------------------
Create a mass data structure.
--------------------------------------------------------------------------
Form:
m = MassStructure( mass, type, info, cM )
m = MassStructure( mass, inr, cM )
--------------------------------------------------------------------------
------
Inputs
------
mass (1,1) Mass
type (1,:) Type of body or (3,3) Inertia matrix
info (:,:) Dimensions depends on type see Inertias
cM (3,1) Center-of-mass location
-------
Outputs
-------
m (1,1) Structure
.mass (1,1) mass
.inertia (3,3) Inertia matrix
.cM (3,1) Center of mass
--------------------------------------------------------------------------
Children:
Common: MassProperties/Inertias