Nasal Flightplan: Difference between revisions

Jump to navigation Jump to search
→‎Flightplan methods and variables: added some procedure info
(→‎Flightplan methods and variables: added some procedure info)
Line 28: Line 28:


; getWP(index) : Returns the waypoint for specified index.
; getWP(index) : Returns the waypoint for specified index.
; currentWP() :  
; currentWP() : Return current active waypoint.
; nextWP() :  
; nextWP() :  
; getPlanSize() : Returns number of waypoints
; getPlanSize() : Returns number of waypoints
; numWaypoints() :
; numWaypoints() :
; appendWP() :  
; appendWP(waypoint) : Add a waypoint to the end of the flightplan.
; insertWP(wp, index) : Pass a waypoint object and its position.
; insertWP(wp, index) : Pass a waypoint object and its position.
; deleteWP(index) : Deletes the waypoint at specified index.
; deleteWP(index) : Deletes the waypoint at specified index.
Line 38: Line 38:
; insertWaypoints(vector, index) : Pass a vector of waypoint objects, and the position to insert.
; insertWaypoints(vector, index) : Pass a vector of waypoint objects, and the position to insert.
; cleanPlan() : Clears all waypoints including destination and departure.
; cleanPlan() : Clears all waypoints including destination and departure.
; clearWPType() :  
; clearWPType(type) : Supply a type string, it will clear all waypoints of the type.
; clone() : Return a copy of the fligthplan.
; clone() : Return a copy of the fligthplan.
; pathGeod() :  
; pathGeod() :  
Line 44: Line 44:
; indexOfWP() :
; indexOfWP() :
; destination : airport object as destination.
; destination : airport object as destination.
; destination_runway : rwy object as destination and its runway
; destination_runway : rwy object as destination and its runway implicit.
; departure : airport object as departure.
; departure : airport object as departure.
; departure_runway : rwy object as departure and its runway
; departure_runway : rwy object as departure and its runway implicit.
; id :
; id :
; sid :
; sid : procedure object for SID.
; star :
; star : procedure object for STAR.
; sid_trans :
; sid_trans :
; star_trans :
; star_trans :
; approach :
; approach : procedure object for approach.
; current :
; current :
; aircraftCategory :
; aircraftCategory : ICAO aircraft category.
; followLegTrackToFix :
; followLegTrackToFix :
; activate() :
; activate() :
== Procedure methods and variables ==
; route(runway) : Returns a vector of waypoints.


== Examples ==
== Examples ==
574

edits

Navigation menu