CylinderWithHemisphere:

Path: Common/ComponentModels

% Generates a cylinder with a hemisphere on one end instead of a flat disk.
--------------------------------------------------------------------------
   Form:
   [v, f] = CylinderWithHemisphere( r, h )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r   (1,1)	Radius of cylinder
   h   (1,1)	Height of cylinder

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

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

Children:

Common: CommonData/SwooshWatermark
Common: ComponentModels/Box
Common: ComponentModels/Frustrum
Common: ComponentModels/GeomPatch
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