Skip to main content

Class: VNavWaypoint

A VNAV waypoint.

Hierarchy

Constructors

constructor

new VNavWaypoint(leg, distanceFromEnd, uid, ident): VNavWaypoint

Constructor.

Parameters

NameTypeDescription
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

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

NameTypeDescription
otherWaypointThe other waypoint.

Returns

boolean

whether this waypoint and the other are equal.

Inherited from

AbstractWaypoint.equals

Defined in

src/sdk/navigation/Waypoint.ts:57


setLocation

setLocation(leg, distanceFromEnd): void

Sets this waypoint's location.

Parameters

NameTypeDescription
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

Defined in

src/sdk/navigation/Waypoint.ts:353