Path: Common/ComponentModels
% Draws a torus Draws a torus -------------------------------------------------------------------------- Form: [v, f] = Torus( c, r, n, c2, nuX ) -------------------------------------------------------------------------- ------ Inputs ------ c (1,1) Major radius r (1,1) Minor radius n (1,1) Number of divisions c2 (1,1) Radius for the cut nuX (1,1) Angular range of the minor angle ------- Outputs ------- v (n,3) Vertices f (n,3) Faces --------------------------------------------------------------------------
Common: CommonData/SwooshWatermark Common: ComponentModels/Box Common: General/DeBlankLT Common: General/Watermark Common: Graphics/DrawVertices Common: Graphics/NewFig Common: Graphics/PltStyle Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS Math: Linear/Mag
Back to the Common Module page