TubeSection:

Path: Common/ComponentModels

%  Generate a tube with specified inner and outer wall, and length.
 The origin is at the bottom. Type Tube for a demo.
--------------------------------------------------------------------------
   Form:
   [v, f] = TubeSection( rO, rI, l, ang1,ang2, n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   rO    (1,1) Outer radius
   rI    (1,1) Inner radius
   l     (1,1) Length
   ang1  (1,1) Start angle
   ang2  (1,1) End angle
   n     (1,1) Number of divisions
   

   -------
   Outputs
   -------
   v     (:,3) Vertices
   f     (:,3) Faces

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

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
Math: Linear/Mag

Back to the Common Module page