ShapedStrut:

Path: Common/ComponentModels

% Generate strut going from x1 to x2.  
 Set the origin at the center of the crossection otherwise the ends may 
 not look correct. Type ShapedStrut for a demo.
--------------------------------------------------------------------------
   Form:
   [v, f, volume] = ShapedStrut( x1, x2, c )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x1         (3,1) Location of top
   x2         (3,1) Location of bottom
   c          (1,1) Crossection data
                    .x (1,m) x locations
                    .y (1,m) y locations

   -------
   Outputs
   -------
   v          (:,3)  Vertices
   f          (:,3)  Faces
   volume     (1,1)  Volume of the strut

--------------------------------------------------------------------------
 See also Polygon and Extrude.
--------------------------------------------------------------------------

Children:

Common: CommonData/SwooshWatermark
Common: ComponentModels/Box
Common: ComponentModels/Extrude
Common: General/DeBlankLT
Common: General/Watermark
Common: Graphics/DrawVertices
Common: Graphics/NewFig
Common: Graphics/PltStyle
Common: Graphics/Polygon
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/Q2Mat
Common: Quaternion/QTForm
Common: Quaternion/U2Q
Math: Geometry/Perpendicular
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/DupVect
Math: Linear/Mag
Math: Linear/Unit

Back to the Common Module page