Class: VNavWaypoint
A VNAV waypoint.
Hierarchy
↳
VNavWaypoint
Constructors
constructor
• new VNavWaypoint(leg
, distanceFromEnd
, uid
, ident
): VNavWaypoint
Constructor.
Parameters
Name | Type | Description |
---|---|---|
leg | LegDefinition | The leg that the VNAV waypoint is contained in. |
distanceFromEnd | number | The distance along the flight path from the end of the leg to the location of the waypoint, in meters. |
uid | string | A unique ID to assign to the VNAV waypoint. |
ident | string | This waypoint's ident string. |
Returns
Overrides
Defined in
src/sdk/navigation/Waypoint.ts:340
Properties
ident
• Readonly
ident: string
This waypoint's ident string.
Defined in
src/sdk/navigation/Waypoint.ts:340
Accessors
location
• get
location(): Subscribable
<GeoPointInterface
>
The geographic location of the waypoint.
Returns
Subscribable
<GeoPointInterface
>
Overrides
AbstractWaypoint.location
Defined in
src/sdk/navigation/Waypoint.ts:323
type
• get
type(): string
The unique string type of this waypoint.
Returns
string
Overrides
AbstractWaypoint.type
Defined in
src/sdk/navigation/Waypoint.ts:320
uid
• get
uid(): string
A unique string ID assigned to this waypoint.
Returns
string
Overrides
AbstractWaypoint.uid
Defined in
src/sdk/navigation/Waypoint.ts:328
Methods
equals
▸ equals(other
): boolean
Checks whether this waypoint and another are equal.
Parameters
Name | Type | Description |
---|---|---|
other | Waypoint | The other waypoint. |
Returns
boolean
whether this waypoint and the other are equal.
Inherited from
Defined in
src/sdk/navigation/Waypoint.ts:57
setLocation
▸ setLocation(leg
, distanceFromEnd
): void
Sets this waypoint's location.
Parameters
Name | Type | Description |
---|---|---|
leg | LegDefinition | The leg that the waypoint resides in. |
distanceFromEnd | number | The distance along the flight path from the end of the leg to the location of the waypoint, in meters. |
Returns
void
Defined in
src/sdk/navigation/Waypoint.ts:353