Skip to main content

Class: G3XFmsUtils

G3X FMS utils

Constructors

constructor

new G3XFmsUtils(): G3XFmsUtils

Returns

G3XFmsUtils

Methods

getVfrApproachName

getVfrApproachName(approach): string

Gets a G3X Touch-formatted name for a VFR approach.

Parameters

NameTypeDescription
approachGarminVfrApproachProcedureThe approach for which to get a name.

Returns

string

The G3X Touch-formatted name for the specified VFR approach.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/G3XFmsUtils.ts:97


sortApproach

sortApproach(a, b): number

Gets the sorting order of two approaches.

Parameters

NameTypeDescription
aApproachProcedureThe first approach to sort.
bApproachProcedureThe second approach to sort.

Returns

number

A negative number if approach a comes before approach b, a positive number if approach a comes after approach b, or zero if both orderings are equivalent.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/G3XFmsUtils.ts:62


sortApproachItem

sortApproachItem(a, b): number

Gets the sorting order of two approach items.

Parameters

NameTypeDescription
aApproachListItemThe first approach item to sort.
bApproachListItemThe second approach item to sort.

Returns

number

A negative number if approach item a comes before approach item b, a positive number if approach item a comes after approach item b, or zero if both orderings are equivalent.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/G3XFmsUtils.ts:88


sortRunway

sortRunway(a, b): number

Gets the sorting order of two runways.

Parameters

NameTypeDescription
aAirportRunwayThe first runway to sort.
bAirportRunwayThe second runway to sort.

Returns

number

A negative number if runway a comes before runway b, a positive number if runway a comes after runway b, or zero if both orderings are equivalent.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/G3XFmsUtils.ts:42


sortVfrApproach

sortVfrApproach(a, b): number

Gets the sorting order of two VFR approaches.

Parameters

NameTypeDescription
aGarminVfrApproachProcedureThe first approach to sort.
bGarminVfrApproachProcedureThe second approach to sort.

Returns

number

A negative number if approach a comes before approach b, a positive number if approach a comes after approach b, or zero if both orderings are equivalent.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/G3XFmsUtils.ts:113


sortVfrApproachItem

sortVfrApproachItem(a, b): number

Gets the sorting order of two VFR approach items.

Parameters

NameTypeDescription
aVfrApproachListItemThe first approach item to sort.
bVfrApproachListItemThe second approach item to sort.

Returns

number

A negative number if approach item a comes before approach item b, a positive number if approach item a comes after approach item b, or zero if both orderings are equivalent.

Defined in

src/workingtitle-instruments-g3x-touch/html_ui/Pages/VCockpit/Instruments/NavSystems/G3XTouch/Shared/FlightPlan/G3XFmsUtils.ts:139