GondolaGeometry:

--------------------------------------------------------------------------
   Compute the surface area and center of mass of an airship gondola.

   Assume a rectangular shaped gondola hanging from hull.

   All lengths are dimensionless. Axial lengths (x) are measured back from 
   the nose. The radial length (z) is measured out from the hull 
   center-line.
--------------------------------------------------------------------------
   Form:
   [Sg, xGonCM, zGonCM] = GondolaGeometry( a1, a2, b, xGonA, xGonB, zGon );
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   a1          (1)       Semi-major axis of front ellipsoid
   a2          (1)       Semi-major axis of rear ellipsoid
   b           (1)       Semi-minor axis of each ellipsoid  [m]
   xGonA       (1)       Leading-edge of gondola / hull length
   xGonB       (1)       Trailing-edge of gondola / hull length
   zGonB       (1)       Bottom edge of gondola / hull radius

   -------
   Outputs
   -------
   Sg          (1)       Cross-sectional area of gondola
   xGonCM        (1)       Cross-sectional area of gondola
   zGonCM        (1)       Cross-sectional area of gondola

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

Children:

Airships: Modeling/AirshipCV
Common: Graphics/NewFig