OverArea:

Path: Orbit/OrbitCoord

% Determine whether r is in a area on the surface of an Earth sphere
 lat and lon are the vertices. They should form a simple closed region. 
 The ordering of the vertices must be as shown in the demo.

 Type OverArea for a demo.
--------------------------------------------------------------------------
   Form:
   [j,rS] = OverArea( r, lat, lon )
--------------------------------------------------------------------------

   ------
   Inputs
   ------
   r  	(3,:)  Point of interest
   lat	(1,:)  Latitude of points in region
   lon (1,:)  Longitude of points in region

   -------
   Outputs
   -------
   j	  (1,:)  1 = yes
   rS  (3,:)  Position vectors of region points

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

Children:

AerospaceUtils: Coord/LatLonAltToEF
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/Unit
Orbit: OrbitCoord/RAzToLatLon
SC: Visualization/LoadEarthMap

Back to the Orbit Module page