Path: Common/ComponentModels
% Generate a disk. For correct lighting points must be entered counterclockwise. Type Disk for a demo. -------------------------------------------------------------------------- Form: [v, f] = Disk( r, n, z ) -------------------------------------------------------------------------- ------ Inputs ------ r (1,1) Radius n (1,1) Number of points z (1,1) Height ------- Outputs ------- v (4,3) Vertices f (4,3) Faces --------------------------------------------------------------------------
Common: Graphics/DrawVertices
Back to the Common Module page