UNPKG

aviation-math

Version:

Different methods to calculate distances, bearing and projections for aviation related software

18 lines (17 loc) 537 B
import { Degrees, Knots, NauticalMiles } from "./common"; /** * This function calculates the turn radius of an airplane is nautical miles based * on its speed and the bank angle. * * @example * const radius = getTurnRadius( * 450, // speed in knots * 30 // bank angle * ); * // radius = ~5 * * @param speed The speed given in knots * @param bankAngle The bank angle in degrees * @returns The turn radius in nautical miles */ export declare function getTurnRadius(speed: Knots, bankAngle: Degrees): NauticalMiles;