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: ComponentModels/Frustrum
Common: ComponentModels/GeomPatch
Common: Graphics/DrawVertices

Back to the Common Module page