Class: VNavWaypoint
Defined in: src/sdk/navigation/Waypoint.ts:311
A VNAV waypoint.
Extends
Constructors
Constructor
new VNavWaypoint(
leg
,distanceFromEnd
,uid
,ident
):VNavWaypoint
Defined in: src/sdk/navigation/Waypoint.ts:340
Constructor.
Parameters
Parameter | 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
VNavWaypoint
Overrides
Properties
ident
readonly
ident:string
Defined in: src/sdk/navigation/Waypoint.ts:340
This waypoint's ident string.
Accessors
location
Get Signature
get location():
Subscribable
<GeoPointInterface
>
Defined in: src/sdk/navigation/Waypoint.ts:323
The geographic location of the waypoint.
Returns
Subscribable
<GeoPointInterface
>
The geographic location of the waypoint.
Overrides
type
Get Signature
get type():
string
Defined in: src/sdk/navigation/Waypoint.ts:320
The unique string type of this waypoint.
Returns
string
The unique string type of this waypoint.
Overrides
uid
Get Signature
get uid():
string
Defined in: src/sdk/navigation/Waypoint.ts:328
A unique string ID assigned to this waypoint.
Returns
string
A unique string ID assigned to this waypoint.
Overrides
Methods
equals()
equals(
other
):boolean
Defined in: src/sdk/navigation/Waypoint.ts:57
Checks whether this waypoint and another are equal.
Parameters
Parameter | Type | Description |
---|---|---|
other | Waypoint | The other waypoint. |
Returns
boolean
whether this waypoint and the other are equal.
Inherited from
setLocation()
setLocation(
leg
,distanceFromEnd
):void
Defined in: src/sdk/navigation/Waypoint.ts:353
Sets this waypoint's location.
Parameters
Parameter | 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