Skip to main content

Interface: FlightPathAnticipatedDataCalculator

Defined in: src/sdk/flightplan/flightpath/FlightPathAnticipatedDataCalculator.ts:95

A calculator that provides anticipated data to be used in lateral flight path calculations.

Methods

getAnticipatedData()

getAnticipatedData(legs, startIndex, endIndex, context, out): readonly FlightPathAnticipatedData[]

Defined in: src/sdk/flightplan/flightpath/FlightPathAnticipatedDataCalculator.ts:106

Gets anticipated data for a sequence of flight plan legs to be used in lateral flight path calculations.

Parameters

ParameterTypeDescription
legsLegDefinition[]The flight plan legs for which to get anticipated data.
startIndexnumberThe index of the first leg for which to get anticipated data, inclusive.
endIndexnumberThe index of the last leg for which to get anticipated data, exclusive.
contextFlightPathAnticipatedDataContext-
outreadonly FlightPathAnticipatedData[]The array to which to write the results. Anticipated data for each flight plan leg should be written to the data at index i in this array, where i is the index of the flight plan leg in the legs array. Initially, all fields of every anticipated data object in the array are set to undefined.

Returns

readonly FlightPathAnticipatedData[]

The anticipated data for the specified sequence of flight plan legs.