Skip to main content

Class: BasicNearestWaypointEntry<W>

A basic implementation of NearestWaypointEntry.

Type parameters

NameType
Wextends FacilityWaypoint

Implements

Constructors

constructor

new BasicNearestWaypointEntry<W>(waypoint, ppos, planeHeading): BasicNearestWaypointEntry<W>

Constructor.

Type parameters

NameType
Wextends FacilityWaypoint<Facility>

Parameters

NameTypeDescription
waypointWThis data item's waypoint.
pposSubscribable<GeoPointInterface>The current airplane position.
planeHeadingSubscribable<number>The current true heading of the airplane, in degrees.

Returns

BasicNearestWaypointEntry<W>

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Nearest/NearestWaypointArray.ts:43

Properties

relativeBearing

Readonly relativeBearing: Subscribable<number>

The bearing from the airplane to this data item's waypoint, in degrees, relative to the current airplane heading.

Implementation of

NearestWaypointEntry.relativeBearing

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Nearest/NearestWaypointArray.ts:35


store

Readonly store: WaypointInfoStore

An info store for this data item's waypoint.

Implementation of

NearestWaypointEntry.store

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Nearest/NearestWaypointArray.ts:31


waypoint

Readonly waypoint: W

This data item's waypoint.

Implementation of

NearestWaypointEntry.waypoint

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Nearest/NearestWaypointArray.ts:43

Methods

destroy

destroy(): void

Destroys this data item.

Returns

void

Implementation of

NearestWaypointEntry.destroy

Defined in

src/workingtitle-instruments-g3000/html_ui/Pages/VCockpit/Instruments/NavSystems/WTG3000/Shared/Nearest/NearestWaypointArray.ts:55