Path: AerospaceUtils/ComponentModels
% Generate CAD vertices and faces fora Wing. The tail points in the z direction. You enter the leading and trailing edge locations as a function of z. Type Wing for a demo. -------------------------------------------------------------------------- Form: [v, f] = Wing( xLE, xTE, z, lERatio, taper, tOC, angle ) -------------------------------------------------------------------------- ------ Inputs ------ xLE (1,:) Leading edge position xTE (1,:) Trailing edge position z (1,:) Spanwise position lERatio (1,1) Leading edge x to y ratio taper (1,1) Ratio of root to tip tOC (1,1) Thickness to chord ratio angle (1,1) Rotates model about x by this angle ------- Outputs ------- v (:,3) Vertices f (:,3) Faces --------------------------------------------------------------------------
Common: CommonData/SwooshWatermark Common: ComponentModels/Box Common: ComponentModels/Extrude 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 Math: Trigonometry/CosD
Back to the AerospaceUtils Module page