DrawCubeSat:

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 )
   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)

   -------
   Outputs
   -------
   h     (1,1)   Figure handle

--------------------------------------------------------------------------
   See also CubeSatModel, RHSCubeSat
--------------------------------------------------------------------------

Children:

Common: Graphics/NewFig
Common: Graphics/TitleS
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS
CubeSat: Utilities/CubeSatModel

Back to the CubeSat Module page