Class: G3XFmsUtils
G3X FMS utils
Constructors
constructor
• new G3XFmsUtils(): G3XFmsUtils
Returns
Methods
getVfrApproachName
▸ getVfrApproachName(approach
): string
Gets a G3X Touch-formatted name for a VFR approach.
Parameters
Name | Type | Description |
---|---|---|
approach | GarminVfrApproachProcedure | The 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
Name | Type | Description |
---|---|---|
a | ApproachProcedure | The first approach to sort. |
b | ApproachProcedure | The 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
Name | Type | Description |
---|---|---|
a | ApproachListItem | The first approach item to sort. |
b | ApproachListItem | The 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
Name | Type | Description |
---|---|---|
a | AirportRunway | The first runway to sort. |
b | AirportRunway | The 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
Name | Type | Description |
---|---|---|
a | GarminVfrApproachProcedure | The first approach to sort. |
b | GarminVfrApproachProcedure | The 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
Name | Type | Description |
---|---|---|
a | VfrApproachListItem | The first approach item to sort. |
b | VfrApproachListItem | The 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