Frustrum:

Path: Common/ComponentModels

% Generate a frustrum of a cone.
 Type Frustrum for a demo.
--------------------------------------------------------------------------
   Form:
   [v, f] = Frustrum( rL, r0, l, n, topOpen, bottomOpen )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   rL           (1,1) Top radius    (z = l)
   r0           (1,1) Bottom radius (z = 0)
   l            (1,1) Length
   n            (1,1) Number of divisions
   topOpen      (1,1) 1 if top is open
   bottomOpen   (1,1) 1 if bottom is open
   

   -------
   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