Path: AerospaceUtils/CAD
% Return a single set of vertices "v" and faces "f" for the CAD model.
 Applies rotations per body. These are stored in the bHiinge fields of
 each body struct. Has a built-in demo; will plot the model with the
 rotated bodies if there are no outputs.
--------------------------------------------------------------------------
   Form:
           GetCADVFRotated;  % demo
   [v,f] = GetCADVFRotated( g )
           GetCADVFRotated( g );  % create plot
--------------------------------------------------------------------------
   ------
   Inputs
   ------
   g          (.)     	CAD model data structure with bodies and components
                       .body (:)
                       .component (:)
   -------
   Outputs
   -------
   v         (:,3)     Vertices for all components
   f         (:,3)     Faces for all components
--------------------------------------------------------------------------
 See also: SetCADRotation
--------------------------------------------------------------------------
AerospaceUtils: CAD/BHinge AerospaceUtils: CAD/GetCADVF AerospaceUtils: CAD/SetCADRotation AerospaceUtils: Visualization/DrawPatch SC: SCModels/ShuttleModel Common: Graphics/NewFig
Back to the AerospaceUtils Module page