Path: Common/MassProperties
% Computes mass properties for a component defined by vertices and faces.
Mass and inertia are scaled for a unitary areal mass. Appropriate for
plates and membranes.
--------------------------------------------------------------------------
Form:
mass = VFToMassStructure( v, f, massTotal )
--------------------------------------------------------------------------
-----
Input
-----
v (:,3) Vertices
f (:,3) Faces
massTotal (1,1) Total mass
------
Output
------
m (1,1) Structure
.mass (1,1) Mass (area)
.inertia (3,3) Inertia matrix
.cM (3,1) Center of mass (centroid)
--------------------------------------------------------------------------
Common: Graphics/PolygonProps Math: Linear/SkewSq
Back to the Common Module page