Interface: FlightPathLegCalculator
Defined in: src/sdk/flightplan/FlightPathLegCalculator.ts:15
A flight path calculator for individual flight plan legs.
Methods
calculate()
calculate(
legs
,calculateIndex
,activeLegIndex
,state
,resolveIngressToEgress?
):LegCalculations
Defined in: src/sdk/flightplan/FlightPathLegCalculator.ts:24
Calculates flight path vectors for a flight plan leg and adds the calculations to the leg.
Parameters
Parameter | Type | Description |
---|---|---|
legs | LegDefinition [] | A sequence of flight plan legs. |
calculateIndex | number | The index of the leg to calculate. |
activeLegIndex | number | The index of the active leg. |
state | FlightPathState | The current flight path state. |
resolveIngressToEgress? | boolean | - |
Returns
The flight plan leg calculations.