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:

AC: ACData/ACTConstants
AerospaceUtils: Coord/LatLonAltToEF
Orbit: OrbitCoord/RAzToLatLon
SC: SCData/sCTConstants
SC: Visualization/LoadEarthMap
Common: CommonData/Constants
Common: CommonData/EarthMapData
Common: CommonData/SwooshWatermark
Common: CommonData/xSplashSmall
Common: Database/Constant
Common: General/DeleteCell
Common: General/Watermark
Common: Graphics/NewFig
Math: Linear/Cross
Math: Linear/Dot
Math: Linear/Unit

Back to the Orbit Module page