DiskWithHole:

Path: Common/Graphics

% Draw a disk.

 For correct lighting points must be entered counterclockwise.

 Type Disk for a demo.

--------------------------------------------------------------------------
   Form:
   [v, f] = DiskWithHole( rI, rO, n, z )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r           (1,1) Radius
   n           (1,1) Number of points
   z           (1,1) z

   -------
   Outputs
   -------
   v           (4,3) Vertices
   f           (4,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