MassPropertiesTetrahedron:

Path: Common/MassProperties

--------------------------------------------------------------------------
   Compute inertia, volume and center of mass of a uniform tetrahedron.

   Type MassPropertiesTetrahedron for a demo

   Since version 2014.1
--------------------------------------------------------------------------
   Usage:
   [m, vol] = MassPropertiesTetrahedron( v, rho )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   v           (3,4)   Edge vectors
   rho         (1,1)   Density

   -------
   Outputs
   -------
   m           (1,1)	Mass data structure
                      .mass    (1,1) Mass
                      .cM      (3,1) Center-of-mass
                      .inertia (3,3) Inertia matrix
   vol         (1,1)   Volume
   
--------------------------------------------------------------------------
   Reference: R. Baber, "Rigid Body Simulation," August 2006, pp 13-15.
--------------------------------------------------------------------------

Children:

Common: General/DispWithTitle
Math: Linear/Cross
Math: Linear/Dot

Back to the Common Module page