Class: G3XFlightPlanRouteUtils
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/G3XFlightPlanRouteUtils.ts:13
Methods for working with G3X flight plan routes.
Constructors
Constructor
new G3XFlightPlanRouteUtils():
G3XFlightPlanRouteUtils
Returns
G3XFlightPlanRouteUtils
Methods
createRouteFromFlightPlan()
static
createRouteFromFlightPlan(facLoader
,flightPlan
):Promise
<FlightPlanRoute
>
Defined in: src/workingtitle-instruments-g3x-touch/html_ui/Shared/FlightPlan/G3XFlightPlanRouteUtils.ts:20
Creates a flight plan route representing the structure of a G3X internal flight plan.
Parameters
Parameter | Type | Description |
---|---|---|
facLoader | FacilityLoader | The facility loader to use to retrieve facilities referenced in the flight plan. |
flightPlan | FlightPlan | The flight plan from which to create the route. |
Returns
Promise
<FlightPlanRoute
>
A flight plan route representing the structure of the specified flight plan.