Path: AerospaceUtils/ComponentModels
% A cylindrical tank with spherical end caps Uses SurfaceOfRevolution Type CylindricalTank for a demo. -------------------------------------------------------------------------- Form: [v,f] = CylindricalTank(r,l,n) -------------------------------------------------------------------------- ------ Inputs ------ r (1,1) Radius l (1,1) Length of cylinder n (1,1) Number of circumferential divisions ------- Outputs ------- v (:,3) Vertices f (:,3) faces -------------------------------------------------------------------------- See also SurfaceOfRevolution. --------------------------------------------------------------------------
AerospaceUtils: ComponentModels/SurfaceOfRevolution Common: Graphics/DrawVertices
Back to the AerospaceUtils Module page