Class: FlightPathLegToLegCalculator
Defined in: src/sdk/flightplan/flightpath/FlightPathLegToLegCalculator.ts:21
A calculator of lateral flight paths for transitions between adjacent flight plan legs.
Constructors
Constructor
new FlightPathLegToLegCalculator():
FlightPathLegToLegCalculator
Returns
FlightPathLegToLegCalculator
Methods
calculate()
calculate(
legs
,startIndex
,count
,state
):void
Defined in: src/sdk/flightplan/flightpath/FlightPathLegToLegCalculator.ts:43
Calculates paths for transitions between adjacent flight plan legs.
Parameters
Parameter | Type | Description |
---|---|---|
legs | LegDefinition [] | An array containing the legs for which to calculate transitions. |
startIndex | number | The index of the first leg for which to calculate transitions. |
count | number | The total number of legs for which to calculate transitions. |
state | FlightPathPlaneState | The airplane state to use for calculations. |
Returns
void