I can't find my trig book (sigh), so I'm asking for help.
I have a SQL call which brings me all the lat/lon station points in a radius. This works and is proven.
Now I need to find all the points of that group that fall in an arbitrary arc of say 90degrees. If the degrees are in one range, they are good, if outside that range, they are useless.
It's been 16 years since I've had trig, but what I remember (which doesn't seem to work) is arctan((x1-x2)/(y1-y2)) to find the radians which can be switched back to degrees. Doesn't work that I can see.
Anybody have a trig book/remember more than I do?
Michael
--
Michael Martinson
Software Engineer
DTN
[EMAIL PROTECTED]
--------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 6171
