Class: BasicNearestWaypointEntry<W>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Nearest/NearestWaypointArray.ts:29
A basic implementation of NearestWaypointEntry.
Type Parameters
Type Parameter |
---|
W extends FacilityWaypoint |
Implements
Constructors
Constructor
new BasicNearestWaypointEntry<
W
>(waypoint
,ppos
,planeHeading
):BasicNearestWaypointEntry
<W
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Nearest/NearestWaypointArray.ts:43
Constructor.
Parameters
Parameter | 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
BasicNearestWaypointEntry
<W
>
Properties
relativeBearing
readonly
relativeBearing:Subscribable
<number
>
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Nearest/NearestWaypointArray.ts:35
The bearing from the airplane to this data item's waypoint, in degrees, relative to the current airplane heading.
Implementation of
NearestWaypointEntry
.relativeBearing
store
readonly
store:WaypointInfoStore
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Nearest/NearestWaypointArray.ts:31
An info store for this data item's waypoint.
Implementation of
waypoint
readonly
waypoint:W
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Nearest/NearestWaypointArray.ts:43
This data item's waypoint.
Implementation of
Methods
destroy()
destroy():
void
Defined in: src/workingtitle-instruments-g3000/html_ui/Shared/Nearest/NearestWaypointArray.ts:55
Destroys this data item.
Returns
void