TerminatorPlanet:

Path: SCPro/ProEnvirons

% Computes the terminator circle on a planet.
   The input is the radius of the planet. The output
   is in the inertial frame but centered around the planet.

   Since version 8.
--------------------------------------------------------------------------
   Form:
                TerminatorPlanet;
   [lat, lon] = TerminatorPlanet( r, radius )
   [lat, lon] = TerminatorPlanet( r, radius, n )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r              (3,1)     Vector from the sun to the planet center
   radius         (1,1)     Planet radius
   n              (1,1)     Number of points

   -------
   Outputs
   -------
   rT             (3,n)     Terminator vectors from the planet center

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

Children:

Common: Database/Constant
Common: Graphics/Plot2D
Math: Linear/Cross
Math: Linear/Mag
Math: Linear/Unit

Back to the SCPro Module page