Updraft
1.0
Open source glider flight visualisation tool.
|
UserAirspace parser library. More...
Classes | |
class | Airspace |
This class represents a single airspace in the OpenAir file. More... | |
struct | Coordinate |
Geographic coordinates. More... | |
class | Geometry |
Abstract geometry in airspace. More... | |
class | Polygon |
Polygon class describes one polygon. More... | |
class | ArcI |
Arc spcified by center point radius, start angle and end angle. More... | |
class | ArcII |
Arc spcified by center point, start point and end point. More... | |
class | Circle |
Full circle class. More... | |
class | Parser |
Parsing OpenAirspace file into geometry. More... | |
Typedefs | |
typedef Coordinate | Position |
UserAirspace parser library.
OPEN AIR (tm) TERRAIN and AIRSPACE DESCRIPTION LANGUAGE ************* Version 1.0 December 10, 1998 Updated October 15, 1999 Send comments to jerryp@winpilot.com
AIRSPACE related record types: ==============================
AC class ; class = Airspace Class, see below: R restricted Q danger P prohibited A Class A B Class B C Class C D Class D GP glider prohibited CTR CTR W Wave Window
AN string ; string = Airspace Name AH string ; string = Airspace Ceiling AL string ; string = Airspace Floor AT coordinate ; coordinate = Coordinate of where to place a name label on the map (optional) ; NOTE: there can be multiple AT records for a single airspace segment
TERRAIN related record types (WinPilot version 1.130 and newer): ==============================
TO {string} ; Declares Terrain Open Polygon; string = name (optional) TC {string} ; Declares Terrain Closed Polygon; string = name (optional) SP style, width, red, green, blue ; Selects Pen to be used in drawing SB red, green, blue ; Selects Brush to be used in drawing
Record types common to both TERRAIN and AIRSPACE =================================================
V x=n ; Variable assignment. ; Currently the following variables are supported: ; D={+|-} sets direction for: DA and DB records ; '-' means counterclockwise direction; '+' is the default ; automatically reset to '+' at the begining of new airspace segment ; X=coordinate : sets the center for the following records: DA, DB, and DC ; W=number : sets the width of an airway in nm (NYI) ; Z=number : sets zoom level at which the element becomes visible (WP version 1.130 and newer)
DP coordinate ; add polygon pointC DA radius, angleStart, angleEnd ; add an arc, angles in degrees, radius in nm (set center using V X=...) DB coordinate1, coordinate2 ; add an arc, from coordinate1 to coordinate2 (set center using V X=...) DC radius ; draw a circle (center taken from the previous V X=... record, radius in nm DY coordinate ; add a segment of an airway (NYI)
typedef Coordinate OpenAirspace::Position |