Nasal Flightplan: Difference between revisions

→‎Leg methods and variables: added info on path()
(→‎Leg methods and variables: added info on path())
Line 65: Line 65:
; setSpeed(speed, type) : Sets the speed restriction. Setting nil type, will crash FG.
; setSpeed(speed, type) : Sets the speed restriction. Setting nil type, will crash FG.
; setAltitude(altitude, type) : Sets the altitude restriction. Setting nil type, will crash FG.
; setAltitude(altitude, type) : Sets the altitude restriction. Setting nil type, will crash FG.
; path() :
; path() : Returns a vector of hashes containing lat and lon variables. These compromise a curved path for long non straight legs.
; courseAndDistanceFrom(coord) : Return vector with true course and distance. Coord is a geo.Coord.
; courseAndDistanceFrom(coord) : Return vector with true course and distance. Coord is a geo.Coord.
; parents :
; parents :
574

edits