Path: AerospaceUtils/ComponentModels
% Get vertices and faces for a lifting body CAD model.
Type LiftingBody for a demo.
--------------------------------------------------------------------------
Form:
[v,f] = LiftingBody(middle,front,wings)
--------------------------------------------------------------------------
------
Inputs
------
middle (.) Data structure
.length (1,1) Length of middle
.width (1,1) Width (type u)
.height (1,1) Height (type u)
front (.) Data structure
.a (1,1) x coefficient
.b (1,1) y coefficient
wings (.) Data structure
.tail (1,1) x coefficient
.winglet (1,1) y coefficient
-------
Outputs
-------
v (:,3) Vertices
f (:,3) Faces
--------------------------------------------------------------------------
AerospaceUtils: ComponentModels/Wing Common: ComponentModels/Extrude Common: Graphics/DrawVertices Math: Trigonometry/CosD
Back to the AerospaceUtils Module page