BoxWithRoundedSection:

Path: Common/ComponentModels

% Generate a box with a rounded section.
 The rounded section is on the +z face. The axis of curvature is +y.

 Type BoxWithRoundedSection for a demo.
--------------------------------------------------------------------------
   Form:
   [v,f] = BoxWithRoundedSection(x,y,z)
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   x (1,1) x dimension
   y (1,1) y dimension
   z (1,1) z dimension

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

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

Children:

Common: ComponentModels/Box
Common: ComponentModels/PartialDisk
Common: Graphics/DrawVertices

Back to the Common Module page