Path: AerospaceUtils/ComponentModels
% Draw panels for a spacecraft.
These have no thickness. If there are no outputs,
draws the panel in a figure with surface normal vectors.
Type Panels for a demo of 6 panels forming a box.
--------------------------------------------------------------------------
Form:
[v, f] = Panels( x, y, z, face )
--------------------------------------------------------------------------
------
Inputs
------
x x length
y y length
z z length
face Which face is drawn, in {'+x' '-x' '+y' '-y' '+z' '-z'}
-------
Outputs
-------
v Vertices
f Faces
--------------------------------------------------------------------------
Common: Graphics/NewFig Common: Graphics/PolygonProps Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS
Back to the AerospaceUtils Module page