PartialDisk:

Path: Common/ComponentModels

% Generate vertices and faces for a full or partial disk
 The axis of rotation is z.
 Type PartialDisk for a demo showing a full disk and a quarter disk.
--------------------------------------------------------------------------
   Form:
   [v, f] = PartialDisk( r, t, n, angle )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r     (1,1) Radius
   t     (1,1) Thickness
   n     (1,1) Number of divisions, optional, default 20
   angle	(1,2) [start stop], default is 0 to 2*pi

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