Tube:

Path: Common/ComponentModels

%  Generate a tube with specified inner and outer wall, and length.
 The origin is at the bottom. Type Tube for a demo.
--------------------------------------------------------------------------
   Form:
   [v, f] = Tube( rO, rI, l, n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   rO	(1,1) Outer radius
   rI	(1,1) Inner radius
   l   (1,1) Length
   n   (1,1) Number of divisions
   

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

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

Children:

Common: Graphics/DrawVertices

Back to the Common Module page