ExtrudeFromProfile:

Path: Common/ComponentModels

% Extrude from a radial profile.
 Can have an inner and outer radius. Type ExtrudeFromProfile for a demo.
--------------------------------------------------------------------------
   Form:
   [v, f] = ExtrudeFromProfile( z, r, topClosed, bottomClosed, n, rI )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   z          (1,m) z locations
   r          (m)   Radii
   topOpen    (1,1) 1 if top is closed, default is open
   bottomOpen (1,1) 1 if bottom is closed, default is open
   n          (1,1) Number of circumferential divisions
   rI         (m)   Inner radii

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

--------------------------------------------------------------------------
  See also: Extrude
--------------------------------------------------------------------------

Children:

Common: ComponentModels/Extrude

Back to the Common Module page