Interface: FlightPathLegCalculator
A flight path calculator for individual flight plan legs.
Implemented by
Methods
calculate
▸ calculate(legs
, calculateIndex
, activeLegIndex
, state
, resolveIngressToEgress?
): LegCalculations
Calculates flight path vectors for a flight plan leg and adds the calculations to the leg.
Parameters
Name | 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.
Defined in
src/sdk/flightplan/FlightPathLegCalculator.ts:24