Path: Common/ComponentModels
% Generate an object from cross sections. Type Extrude for a demo. -------------------------------------------------------------------------- Form: [v, f] = Extrude( z, c, topClosed, bottomClosed, cI ) -------------------------------------------------------------------------- ------ Inputs ------ z (1,n) z locations c (n) Crossection data .x (1,m) x locations .y (1,m) y locations topOpen 1 if top is closed bottomOpen 1 if bottom is closed cI (n) Interior crossection data .x (1,m) x locations .y (1,m) y locations ------- Outputs ------- v (:,3) Vertices f (:,3) Faces --------------------------------------------------------------------------
Common: Graphics/DrawVertices
Back to the Common Module page