Skip to main content

Interface: LegCalculations

Defined in: src/sdk/flightplan/FlightPlanning.ts:200

Metadata about a particular flight plan leg.

Properties

courseMagVar

courseMagVar: number

Defined in: src/sdk/flightplan/FlightPlanning.ts:203

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


cumulativeDistance

cumulativeDistance: number

Defined in: src/sdk/flightplan/FlightPlanning.ts:212

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


cumulativeDistanceWithTransitions

cumulativeDistanceWithTransitions: number

Defined in: src/sdk/flightplan/FlightPlanning.ts:218

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


distance

distance: number

Defined in: src/sdk/flightplan/FlightPlanning.ts:209

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


distanceWithTransitions

distanceWithTransitions: number

Defined in: src/sdk/flightplan/FlightPlanning.ts:215

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


egress

egress: CircleVector[]

Defined in: src/sdk/flightplan/FlightPlanning.ts:248

The leg's flight path egress transition.


egressJoinIndex

egressJoinIndex: number

Defined in: src/sdk/flightplan/FlightPlanning.ts:245

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


endLat

endLat: undefined | number

Defined in: src/sdk/flightplan/FlightPlanning.ts:227

The latitude of the end of the leg.


endLon

endLon: undefined | number

Defined in: src/sdk/flightplan/FlightPlanning.ts:230

The longitude of the end of the leg.


endsInFallback

endsInFallback: boolean

Defined in: src/sdk/flightplan/FlightPlanning.ts:251

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


flightPath

flightPath: CircleVector[]

Defined in: src/sdk/flightplan/FlightPlanning.ts:233

The calculated flight path for the leg.


ingress

ingress: CircleVector[]

Defined in: src/sdk/flightplan/FlightPlanning.ts:236

The leg's flight path ingress transition.


ingressJoinIndex

ingressJoinIndex: number

Defined in: src/sdk/flightplan/FlightPlanning.ts:239

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


ingressToEgress

ingressToEgress: CircleVector[]

Defined in: src/sdk/flightplan/FlightPlanning.ts:242

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


initialDtk

initialDtk: undefined | number

Defined in: src/sdk/flightplan/FlightPlanning.ts:206

The initial DTK of the leg in degrees magnetic.


startLat

startLat: undefined | number

Defined in: src/sdk/flightplan/FlightPlanning.ts:221

The latitude of the start of the leg.


startLon

startLon: undefined | number

Defined in: src/sdk/flightplan/FlightPlanning.ts:224

The longitude of the start of the leg.