]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/navrecord.hxx
Merge branch 'next' of git://gitorious.org/fg/flightgear into next
[flightgear.git] / src / Navaids / navrecord.hxx
index f686d1c157dae22d97125caac67b879655de58f3..2773629f4ebccfd20f9d767d79b89abd28442e4c 100644 (file)
@@ -43,6 +43,7 @@ typedef FGPositioned::Type fg_nav_types;
 
 // forward decls
 class FGRunway;
+class SGPropertyNode;
 
 class FGNavRecord : public FGPositioned 
 {
@@ -65,6 +66,9 @@ class FGNavRecord : public FGPositioned
   void initAirportRelation();
   
   void alignLocaliserWithRunway(double aThreshold);
+  
+  void readAirportSceneryData();
+  void processSceneryILS(SGPropertyNode* aILSNode);
 public:
   inline ~FGNavRecord(void) {}
 
@@ -92,6 +96,13 @@ public:
    * Retrieve the runway this navaid is associated with (for ILS/LOC/GS)
    */
   FGRunway* runway() const { return mRunway; }
+  
+  /**
+   * return the localizer width, in degrees
+   * computation is based up ICAO stdandard width at the runway threshold
+   * see implementation for further details.
+   */
+  double localizerWidth() const;
 };
 
 class FGTACANRecord : public SGReferenced {