Skip to main content

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

NameTypeDescription
legsLegDefinition[]A sequence of flight plan legs.
calculateIndexnumberThe index of the leg to calculate.
activeLegIndexnumberThe index of the active leg.
stateFlightPathStateThe current flight path state.
resolveIngressToEgress?boolean-

Returns

LegCalculations

The flight plan leg calculations.

Defined in

src/sdk/flightplan/FlightPathLegCalculator.ts:24