Path: CubeSat/Visualization
% Draw a CubeSat with surface normals.
The vertices and faces can be obtained from CubeSatModel. If d or d.surfData
is input after the faces, it will draw surface normals.
--------------------------------------------------------------------------
Form:
h = DrawCubeSat( v, f, d, h )
DrawCubeSat; % Demo
--------------------------------------------------------------------------
------
Inputs
------
v (:,3) Vertices
f (:,3) Faces
d (.) Data structure from the function RHSCubeSat
.surfData (.) Surface data
.nFace (3,n) Face normals
.rFace (3,n) Face locations (m)
h (1,1) Figure handle (optional)
-------
Outputs
-------
h (1,1) Figure handle
--------------------------------------------------------------------------
See also CubeSatModel, RHSCubeSat
--------------------------------------------------------------------------
CubeSat: Utilities/CubeSatModel Common: Graphics/NewFig Common: Graphics/TitleS Common: Graphics/XLabelS Common: Graphics/YLabelS Common: Graphics/ZLabelS
Back to the CubeSat Module page