Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change CoordCalc to planar calculations for Performance Reasons #15

Open
TwinFan opened this issue Oct 23, 2018 · 1 comment
Open

Change CoordCalc to planar calculations for Performance Reasons #15

TwinFan opened this issue Oct 23, 2018 · 1 comment
Labels
enhancement New feature or request

Comments

@TwinFan
Copy link
Owner

TwinFan commented Oct 23, 2018

Current Situation / Problem
All coordination calculations use spherical calculations involving expensive trigonometrical functions.

Suggested Solution
Change to planar calculations ("flat earth"). Given that we rarely look farther than 50km this is a very fair approximation.

Benefits
Performance

@TwinFan TwinFan added the enhancement New feature or request label Oct 23, 2018
@TwinFan
Copy link
Owner Author

TwinFan commented Aug 16, 2020

In the meanwhile, a number of planar calculation functions are available. I put them in while implementing LTApt.cpp for all calculations in the airport vincinity for snap to taxiway functionality.

But existing use of trigonometrical functions has not been replaced yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant