PlateTwoSided:

Path: Common/ComponentModels

% Generate a plate in the xy plane.
 Only 4 corners allowed. For correct lighting points must be entered
 counterclockwise:

 4          3        +Y
 ------------        ^
 |          |        |
 |          |        |
 ------------         -----> +X
 1          2

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

   ------
   Inputs
   ------
   x           (1,4) x points
   y           (1,4) y points
   z           (1,1) z

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

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

Children:

Common: Graphics/DrawVertices

Back to the Common Module page