CrossSection:

Path: AerospaceUtils/CAD

% Determine cross-sectional area from CAD model. 
 This routine assumes that the first body is the core and the next n bodies, if
 any, are rotated by the corresponding body angle.

 Type CrossSection for demo.
--------------------------------------------------------------------------
   Form:
   area = CrossSection( g, bodyAngle, viewV, plot )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   g                 (:)  CAD model struct
   bodyAngle       (n,1)  Body angles, if applicable*
   viewV           (3,1)  Vector viewpoint, nominally [1;0;0] *
   plot              (1)  Plot flag*
                             * Optional
   -------
   Outputs
   -------
   area              (1)  Cross-sectional area of spacecraft

--------------------------------------------------------------------------

Children:

AerospaceUtils: CAD/BHinge
AerospaceUtils: CAD/DrawSCPlanPlugIn

Back to the AerospaceUtils Module page