IntersectPlanet:

Path: AerospaceUtils/Coord

% Altitude of the nearest point to a sphere.

 Type IntersectPlanet for a demo.
--------------------------------------------------------------------------
   Form:
   h = IntersectPlanet( r1, r2, a )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r1             (3,n)  Position vector 1
   r2             (3,m)  Position vector 2
   a              (1,1)  Radius of the planet

   -------
   Outputs
   -------
   h              (n,m)  Minimum altitude of vector

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

Children:

Common: Graphics/NewFig
Common: Graphics/XLabelS
Common: Graphics/YLabelS
Common: Graphics/ZLabelS

Back to the AerospaceUtils Module page