MathGroup Archive 1995

[Date Index] [Thread Index] [Author Index]

Search the Archive

Spherical Trigonometry Application

  • Subject: [mg2255] Spherical Trigonometry Application
  • From: kammeyer at tos.usno.navy.mil
  • Date: Thu, 19 Oct 1995 05:31:54 GMT
  • Approved: usenet@wri.com
  • Distribution: local
  • Newsgroups: wri.mathgroup
  • Organization: Wolfram Research, Inc.
  • Sender: daemon at wri.com ( )

After thinking about Roger Uribe's question on testing whether points are inside 
a polygon on the Earth's surface, I suspect that the best solution is to stereo-  
graphically project the points to be tested and the polygon from one of the Earth's  
poles.  If the points to be tested are given in terms of latitude and longitude,  
and if position in the plane of projection is defined in terms of the 
prime meridian direction and a perpendicular direction, the
projection won't be harder than converting to three dimensions.
If the points are already given in three dimensions, the projection is 
easier.  The sides of the polygon project to arcs of circles, and the inside  
of the projection of the polygon is defined by the squares of the magnitudes  
of the distances from the centers of the circles being less or greater than 
some quantities calculated from the polygon.  An additional circle can, of
course, be used to exclude those points which aren't close to the polygon. 

Peter Kammeyer
U.S. Naval Observatory


  • Prev by Date: FW: RE: Mathlink & Graphics....
  • Next by Date: Re: color in ListContourPlot
  • Previous by thread: Problems loading packages in 2.2.4 for Win
  • Next by thread: Spherical Trigonometry Application