Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Yes; the short explanation is:

Create two FsLatLonPoint objects. The constructor takes the Lat/Lon in decimal degrees or FsLat/FsLon objects.

Then with one of the objects you can call DistanceFromInFeet(), or DistanceFromInMetres() and pass the other FsLatLonPoint object.

For more details about this and other Lat/Lon helpers see the example code application, specifically the section called "Lon/Lat Helper Classes". The distance example is on the form called LL002_DistancesAndBearings.

Paul

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.