InertiaFromOBJFile:

Path: Common/MassProperties

% Computes an inertia matrix from an obj file or data structure.
 Assigns a mass proportional to the patch area.

--------------------------------------------------------------------------
   Form:
   inr = InertiaFromOBJFile( fileName, mass, scale )
--------------------------------------------------------------------------

   ------
   Inputs
   ------

   fileName          (1,:) File name or data structure
   mass              (1,1) Dry mass
   scale             (1,1) Optional scale factor

   -------
   Outputs
   -------
   inr               (3,3) Inertia matrix
   c                 (3,1) Center of mass

--------------------------------------------------------------------------

Children:

AeroUtils: CAD/LoadCAD
Common: Graphics/PolygonProps
Math: Linear/SkewSq

Back to the Common Module page