Triangle:

Path: Common/ComponentModels

% Generate a solid triangle. 
 This function will compute the mass properties data structure if a mass is
 entered. Type Triangle for a demo.
--------------------------------------------------------------------------
   Form:
   [v, f, m] = Triangle( x, y, z, mass )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x           (1,1) x length
   y           (1,1) y length
   z           (1,1) z length
   mass        (1,1) mass
   

   -------
   Outputs
   -------
   v           (:,3) Vertices
   f           (:,3) Faces
   m           (.)   Mass data structure

--------------------------------------------------------------------------
  See also Volumes, Inertias, DrawVertices
--------------------------------------------------------------------------

Children:

Common: CommonData/SwooshWatermark
Common: ComponentModels/Box
Common: General/DeBlankLT
Common: General/Watermark
Common: Graphics/DrawVertices
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: MassProperties/IC623X3
Common: MassProperties/Inertias
Common: MassProperties/Volumes
Math: Linear/Mag

Back to the Common Module page