Skip to main content

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​

ParameterTypeDescription
legLegDefinitionThe leg that the VNAV waypoint is contained in.
distanceFromEndnumberThe distance along the flight path from the end of the leg to the location of the waypoint, in meters.
uidstringA unique ID to assign to the VNAV waypoint.
identstringThis waypoint's ident string.

Returns​

VNavWaypoint

Overrides​

AbstractWaypoint.constructor

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​

AbstractWaypoint.location


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​

AbstractWaypoint.type


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​

AbstractWaypoint.uid

Methods​

equals()​

equals(other): boolean

Defined in: src/sdk/navigation/Waypoint.ts:57

Checks whether this waypoint and another are equal.

Parameters​

ParameterTypeDescription
otherWaypointThe other waypoint.

Returns​

boolean

whether this waypoint and the other are equal.

Inherited from​

AbstractWaypoint.equals


setLocation()​

setLocation(leg, distanceFromEnd): void

Defined in: src/sdk/navigation/Waypoint.ts:353

Sets this waypoint's location.

Parameters​

ParameterTypeDescription
legLegDefinitionThe leg that the waypoint resides in.
distanceFromEndnumberThe distance along the flight path from the end of the leg to the location of the waypoint, in meters.

Returns​

void