efratomer Posted February 10, 2006 Report Share Posted February 10, 2006 Hello, I am trying to make something like an ATC viewing which will be connected to the pilots's FS via FSUIPC. Therfore, I want to display the traffic on the program's form and I need for somehow to draw the traffic to a X and Y coordinates from the normal ones in FS... Anyway, I need to get distance and angel from 2 coordinate, distance I have already managed to return, I have problem only with the angel. Just to be sure... Im talking about those coordinates: N028.41.07.001 E034.03.45.000 Thanks in advance! Omer. Link to comment Share on other sites More sharing options...
Pete Dowson Posted February 10, 2006 Report Share Posted February 10, 2006 I need to get distance and angel from 2 coordinate, distance I have already managed to return, I have problem only with the angel. If the distance is not too far, i.e. the points are close enough to regard the intervening Earth's surface to be pretty flat rather than spherical, then isn't that merely a matter of simply right-angled triangle trig? How did you determine the distance -- wasn't that by similar assumptions, then using pythoagoras? Otherwise it gets more complex for both, as you need great circle calculations for the distance and some spherical trig for the angle. Regards, Pete Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now