Skip to main content

Type Alias: FlightPathLegCalculationOptions

FlightPathLegCalculationOptions = object

Defined in: src/sdk/flightplan/flightpath/FlightPathLegCalculator.ts:7

Options with which to configure flight path calculations for flight plan legs.

Properties

calculateDiscontinuityVectors

calculateDiscontinuityVectors: boolean

Defined in: src/sdk/flightplan/flightpath/FlightPathLegCalculator.ts:12

Whether to calculate flight path vectors to span discontinuities in the flight path. If true, then the calculated discontinuity vectors will have the Discontinuity flag applied to them.


useGreatCirclePathForDiscontinuity?

optional useGreatCirclePathForDiscontinuity: boolean

Defined in: src/sdk/flightplan/flightpath/FlightPathLegCalculator.ts:21

Whether to calculate strictly great-circle paths to span discontinuities in the flight path. If true, then any discontinuity-spanning path will always be the shortest great-circle path between the two ends of the discontinuity. If false, then the discontinuity-spanning path will be calculated in a manner that smoothly joins the two ends the discontinuity, if possible. Ignored if calculateDiscontinuityVectors is false. Defaults to false.