The goal of this library is to provide a collection of useful calculations for aviators to use in other projects.
The functions are grouped by the general topics of navigation, meteorology and utilities, which mainly contain unit conversion functions. There are also FK9 Mk VI specific performance calculations.
All calculations are based on official sources and use official examples to verify correctness in automated tests.
Feel free to use this library in your projects and to contribute to it.
You can install this library as a crate using the rust package manager cargo by running cargo add aviation-calculator
in your project.
For a complete list of available functions, see the automatically generated documentation for this crate.
```rust use aviation_calculator::meteorology::*;
let pressurealtitude: f64 = pressurealtitudebyqnh(996.0, 113.7); let icaodefaulttemperature = icaotemperature(pressurealtitude).unwrap(); ```
```rust use aviation_calculator::navigation::*;
let myspeed = 110.0; let windspeed = 12.0; let acutewindangle = 20.0;
let wca = windcorrectionangle(myspeed, windspeed, acutewindangle); ```
And much more...