Class: FlightPlanSegment
A segment of a flight plan.
Constructors
constructor
• new FlightPlanSegment(segmentIndex
, offset
, legs
, segmentType?
, airway?
): FlightPlanSegment
Creates a new FlightPlanSegment.
Parameters
Name | Type | Default value | Description |
---|---|---|---|
segmentIndex | number | undefined | The index of the segment within the flight plan. |
offset | number | undefined | The leg offset within the original flight plan that the segment starts at. |
legs | LegDefinition [] | undefined | The legs in the flight plan segment. |
segmentType | FlightPlanSegmentType | FlightPlanSegmentType.Enroute | The type of segment this is. |
airway? | string | undefined | The airway associated with this segment, if any. |
Returns
Defined in
src/sdk/flightplan/FlightPlanning.ts:189
Properties
airway
• Optional
airway: string
The airway associated with this segment, if any.
Defined in
src/sdk/flightplan/FlightPlanning.ts:190
legs
• legs: LegDefinition
[]
The legs in the flight plan segment.
Defined in
src/sdk/flightplan/FlightPlanning.ts:189
offset
• offset: number
The leg offset within the original flight plan that the segment starts at.
Defined in
src/sdk/flightplan/FlightPlanning.ts:189
segmentIndex
• segmentIndex: number
The index of the segment within the flight plan.
Defined in
src/sdk/flightplan/FlightPlanning.ts:189
segmentType
• segmentType: FlightPlanSegmentType
= FlightPlanSegmentType.Enroute
The type of segment this is.
Defined in
src/sdk/flightplan/FlightPlanning.ts:190
Empty
▪ Static
Empty: FlightPlanSegment
An empty flight plan segment.
Defined in
src/sdk/flightplan/FlightPlanning.ts:194