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): readonlyFlightPathAnticipatedData[]
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
| Parameter | Type | Description |
|---|---|---|
legs | LegDefinition[] | The flight plan legs for which to get anticipated data. |
startIndex | number | The index of the first leg for which to get anticipated data, inclusive. |
endIndex | number | The index of the last leg for which to get anticipated data, exclusive. |
context | FlightPathAnticipatedDataContext | - |
out | readonly 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.