Skip to main content

Class: WT21FixInfoCalculator

Defined in: wtlinesdk/fms/WTLineFixInfoCalculator.ts:10

A calculator for fix info intersections and predictions data

Constructors​

Constructor​

new WT21FixInfoCalculator(bus, maxDistance, activeRoutePredictor?): WTLineFixInfoCalculator

Defined in: wtlinesdk/fms/WTLineFixInfoCalculator.ts:40

Instantiates a Fix Info Calculator

Parameters​

ParameterTypeDescription
busEventBusThe event bus
maxDistancenumberMaximum distance in metres
activeRoutePredictor?FlightPlanPredictionsProviderThe active route predictor

Returns​

WTLineFixInfoCalculator

Properties​

trueRef​

readonly trueRef: Subject<boolean>

Defined in: wtlinesdk/fms/WTLineFixInfoCalculator.ts:29

FIXME hook up when true ref exists

Methods​

calculateAllIntersections()​

calculateAllIntersections(plan, fixInfos): void

Defined in: wtlinesdk/fms/WTLineFixInfoCalculator.ts:420

Calculates intersections with the active flight plan for fix infos

Parameters​

ParameterTypeDescription
planFlightPlanThe active flight plan
fixInfosWT21FixInfoData[]All of the fix infos

Returns​

void


calculateEtaAltitudePrediction()​

calculateEtaAltitudePrediction(plan, fixInfo, calcData): void

Defined in: wtlinesdk/fms/WTLineFixInfoCalculator.ts:59

Calculates the time or altitude distance prediction

Parameters​

ParameterTypeDescription
planFlightPlanActive flight plan
fixInfoWT21FixInfoDataThe pilot-entered input data
calcDataWT21FixInfoCalculatedDataOutput data for the CDU page

Returns​

void


calculateFixPredictions()​

calculateFixPredictions(plan, fixInfo, calcData): void

Defined in: wtlinesdk/fms/WTLineFixInfoCalculator.ts:142

Calculates fix info predictions and intersections

Parameters​

ParameterTypeDescription
planFlightPlanActive flight plan
fixInfoWT21FixInfoDataThe pilot-entered input data
calcDataWT21FixInfoCalculatedDataOutput data for the CDU page

Returns​

void


calculateIntersectionBearingDistances()​

calculateIntersectionBearingDistances(fixInfos, calcDatas): void

Defined in: wtlinesdk/fms/WTLineFixInfoCalculator.ts:361

Calculates the bearings and distances from the fix to flight plan intersections

Parameters​

ParameterTypeDescription
fixInfosWT21FixInfoData[]All of the fix infos
calcDatasWT21FixInfoCalculatedData[]Corresponding calculated data objects

Returns​

void


clearFixIntersections()​

clearFixIntersections(fixInfo): void

Defined in: wtlinesdk/fms/WTLineFixInfoCalculator.ts:395

Clear data from a calculated flight plan intersection

Parameters​

ParameterTypeDescription
fixInfoWT21FixInfoDataThe fix info to clear

Returns​

void


clearIntersection()​

clearIntersection(intersection): void

Defined in: wtlinesdk/fms/WTLineFixInfoCalculator.ts:386

Clear data from a calculated flight plan intersection

Parameters​

ParameterTypeDescription
intersectionFlightPlanIntersectionFlight plan intersection object to clear

Returns​

void


isIntersectionValid()​

isIntersectionValid(intersection): boolean

Defined in: wtlinesdk/fms/WTLineFixInfoCalculator.ts:261

Checks if an intersection is valid

Parameters​

ParameterTypeDescription
intersectionFlightPlanIntersectionFlight plan intersection data

Returns​

boolean

true if the intersection is valid/calculated