Skip to main content

Interface: FlightPathCalculatorDataProvider

Defined in: src/sdk/flightplan/flightpath/FlightPathCalculatorDataProvider.ts:6

A provider of data for a lateral flight path calculator.

Methods​

getPlaneAltitude()​

getPlaneAltitude(): number

Defined in: src/sdk/flightplan/flightpath/FlightPathCalculatorDataProvider.ts:44

Gets the airplane's current altitude, in feet above sea level.

Returns​

number

The airplane's current altitude, in feet above sea level, or NaN if altitude data are unavailable.


getPlaneGroundSpeed()​

getPlaneGroundSpeed(): number

Defined in: src/sdk/flightplan/flightpath/FlightPathCalculatorDataProvider.ts:24

Gets the airplane's current ground speed, in knots.

Returns​

number

The airplane's current ground speed, in knots, or NaN if ground speed data are unavailable.


getPlanePosition()​

getPlanePosition(): Readonly<LatLonInterface>

Defined in: src/sdk/flightplan/flightpath/FlightPathCalculatorDataProvider.ts:12

Gets the airplane's current position.

Returns​

Readonly<LatLonInterface>

The airplane's current position. If position data are unavailable, then both latitude and longitude will be NaN.


getPlaneTrueAirspeed()​

getPlaneTrueAirspeed(): number

Defined in: src/sdk/flightplan/flightpath/FlightPathCalculatorDataProvider.ts:18

Gets the airplane's current true airspeed, in knots.

Returns​

number

The airplane's current true airspeed, in knots, or NaN if airspeed data are unavailable.


getPlaneTrueHeading()​

getPlaneTrueHeading(): number

Defined in: src/sdk/flightplan/flightpath/FlightPathCalculatorDataProvider.ts:57

Gets the airplane's current true heading, in degrees.

Returns​

number

The airplane's current true heading, in degrees, or NaN if heading data are unavailable.


getPlaneVerticalSpeed()​

getPlaneVerticalSpeed(): number

Defined in: src/sdk/flightplan/flightpath/FlightPathCalculatorDataProvider.ts:51

Gets the airplane's current vertical speed, in feet per minute.

Returns​

number

The airplane's current vertical speed, in feet per minute, or NaN if vertical speed data are unavailable.


getPlaneWindDirection()​

getPlaneWindDirection(): number

Defined in: src/sdk/flightplan/flightpath/FlightPathCalculatorDataProvider.ts:32

Gets the wind direction at the airplane's current position, in degrees relative to true north. The wind direction is the direction from which the wind is blowing.

Returns​

number

The wind direction at the airplane's current position, in degrees relative to true north, or NaN if wind data are unavailable.


getPlaneWindSpeed()​

getPlaneWindSpeed(): number

Defined in: src/sdk/flightplan/flightpath/FlightPathCalculatorDataProvider.ts:38

Gets the wind speed at the airplane's current position, in knots.

Returns​

number

The wind speed at the airplane's current position, in knots, or NaN if wind data are unavailable.