Nasal Flightplan: Difference between revisions

Jump to navigation Jump to search
Line 13: Line 13:
Flight plans are based on waypoints, which, in C++, inherit from the {{API Link|flightgear|class|FGPositioned}} class.
Flight plans are based on waypoints, which, in C++, inherit from the {{API Link|flightgear|class|FGPositioned}} class.


== Waypoint hashes ==
== Waypoint ghost ==
The following are members of a waypoint ghost, as generated by, for example, {{func link|airwaysRoute()}}:
The following are members of a waypoint ghost, as generated by, for example, {{func link|airwaysRoute()}}:


Line 23: Line 23:
; wp_parent_name : Name of waypoint's parent.
; wp_parent_name : Name of waypoint's parent.
; wp_parent : Waypoint's parent.
; wp_parent : Waypoint's parent.
; fly_type : How to waypoint should be flown over or reacted to. One of "flyOver" or "flyBy".
; fly_type : How to waypoint should be flown over or reacted to. One of "flyOver" or "flyBy" or "Hold".
; heading_course : Heading of runway.
; heading_course : Heading of runway.
The following are hold-specific members:
; hold_is_left_handed : boolean, defines direction of turns in the hold
; hold_is_distance : boolean, defines if hold is measured by distance
; hold_is_time : boolean, defines if hold is measured by time
; hold_inbound_radial ''or'' hold_inbound_radial_deg : returns the inbound radial of the hold, measured in degrees
; hold_time_or_distance : the leg length, defined either in seconds or nautical miles


== Flightplan methods and variables ==
== Flightplan methods and variables ==
842

edits

Navigation menu