Skip to main content

Interface: LegCalculations

Metadata about a particular flight plan leg.

Properties

courseMagVar

courseMagVar: number

The magnetic variation, in degrees, used when calculating this leg's course.

Defined in

src/sdk/flightplan/FlightPlanning.ts:203


cumulativeDistance

cumulativeDistance: number

The cumulative distance in meters up to this point in the flight plan.

Defined in

src/sdk/flightplan/FlightPlanning.ts:212


cumulativeDistanceWithTransitions

cumulativeDistanceWithTransitions: number

The cumulative distance in meters up to this point, with leg transition turns taken into account.

Defined in

src/sdk/flightplan/FlightPlanning.ts:218


distance

distance: number

The leg's total distance in meters, not cut short by ingress/egress turn radii.

Defined in

src/sdk/flightplan/FlightPlanning.ts:209


distanceWithTransitions

distanceWithTransitions: number

The leg's total distance in meters, with leg transition turns take into account.

Defined in

src/sdk/flightplan/FlightPlanning.ts:215


egress

egress: CircleVector[]

The leg's flight path egress transition.

Defined in

src/sdk/flightplan/FlightPlanning.ts:248


egressJoinIndex

egressJoinIndex: number

The index of the flight path vector in flightPath to which the egress transition is joined.

Defined in

src/sdk/flightplan/FlightPlanning.ts:245


endLat

endLat: undefined | number

The latitude of the end of the leg.

Defined in

src/sdk/flightplan/FlightPlanning.ts:227


endLon

endLon: undefined | number

The longitude of the end of the leg.

Defined in

src/sdk/flightplan/FlightPlanning.ts:230


endsInFallback

endsInFallback: boolean

Whether the leg's flight path ends in a fallback state.

Defined in

src/sdk/flightplan/FlightPlanning.ts:251


flightPath

flightPath: CircleVector[]

The calculated flight path for the leg.

Defined in

src/sdk/flightplan/FlightPlanning.ts:233


ingress

ingress: CircleVector[]

The leg's flight path ingress transition.

Defined in

src/sdk/flightplan/FlightPlanning.ts:236


ingressJoinIndex

ingressJoinIndex: number

The index of the flight path vector in flightPath to which the ingress transition is joined.

Defined in

src/sdk/flightplan/FlightPlanning.ts:239


ingressToEgress

ingressToEgress: CircleVector[]

The leg's flight path between the ingress and egress transitions.

Defined in

src/sdk/flightplan/FlightPlanning.ts:242


initialDtk

initialDtk: undefined | number

The initial DTK of the leg in degrees magnetic.

Defined in

src/sdk/flightplan/FlightPlanning.ts:206


startLat

startLat: undefined | number

The latitude of the start of the leg.

Defined in

src/sdk/flightplan/FlightPlanning.ts:221


startLon

startLon: undefined | number

The longitude of the start of the leg.

Defined in

src/sdk/flightplan/FlightPlanning.ts:224