Path: Common/ComponentModels
% Generate a portion of a tube with an inner and outer wall. The top and bottom radii may be different. The origin is at the bottom. This function will not work correctly for a full tube. Use Tube for that purpose. Type TubeArc for a demo. -------------------------------------------------------------------------- Form: [v, f] = TubeArc( rO, rI, l, n ) -------------------------------------------------------------------------- ------ Inputs ------ rO (1,2) Outer radius [top, bottom] rI (1,2) Inner radius [top, bottom] l (1,1) Length arc (1,2) Arc [beginning end] (rad) n (1,1) Number of divisions ------- Outputs ------- v (:,3) Vertices f (:,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