VFToMassStructure:
--------------------------------------------------------------------------
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, d )
mass = VFToMassStructure( v, f )
--------------------------------------------------------------------------
-----
Input
-----
v (:,3) Vertices
f (:,3) Faces
d (:) Data structure (optional, see PolygonProps)
.a (1,:) Areas of the triangles
.r (3,:) Centroids of the triangles
------
Output
------
m (1,1) Structure
.mass (1,1) Mass (area)
.inertia (3,3) Inertia matrix
.cM (3,1) Center of mass (centroid)
--------------------------------------------------------------------------
Children:
Common: Graphics/Centroid
Common: Graphics/PolygonProps
Math: Linear/SkewSq