Class: BasicNearestWaypointEntry<W>
A basic implementation of NearestWaypointEntry.
Type parameters
Name | Type |
---|---|
W | extends Waypoint |
Implements
Constructors
constructor
• new BasicNearestWaypointEntry<W
>(waypoint
, ppos
, planeHeading
): BasicNearestWaypointEntry
<W
>
Constructor.
Type parameters
Name | Type |
---|---|
W | extends Waypoint |
Parameters
Name | Type | Description |
---|---|---|
waypoint | W | This data item's waypoint. |
ppos | Subscribable <GeoPointInterface > | The current airplane position. |
planeHeading | Subscribable <number > | The current true heading of the airplane, in degrees. |
Returns
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Nearest/BasicNearestWaypointEntry.ts:25
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-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Nearest/BasicNearestWaypointEntry.ts:17
store
• Readonly
store: WaypointInfoStore
An info store for this data item's waypoint.
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Nearest/BasicNearestWaypointEntry.ts:13
waypoint
• Readonly
waypoint: W
This data item's waypoint.
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Nearest/BasicNearestWaypointEntry.ts:25
Methods
destroy
▸ destroy(): void
Destroys this data item.
Returns
void
Implementation of
Defined in
src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/Nearest/BasicNearestWaypointEntry.ts:37