Cone:

--------------------------------------------------------------------------
   Compute the vertices for a cone.
   The cone emanates from p and points in direction u. If no outputs are
   specified the cone will be drawn in a new figure. alpha is transparency 
   (0.5 means half transparent)

   Type Cone for a demo.
--------------------------------------------------------------------------
   Form:
   [v, f] = Cone( p, u, halfAngle, l, n, c )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   p            (3,1) Location of apex
   u            (3,1) Cone axis unit vector
   halfAngle    (1,1) Cone half angle (rad)
   l            (1,1) Length of cone
   n            (1,1) Number of divisions
   color        (1,4) [red, green, blue, alpha]

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

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

Children:

Common: Graphics/Frustrum
Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
Common: Quaternion/QForm
Common: Quaternion/U2Q
Math: Linear/DupVect
Math: Linear/Mag