]> git.mxchange.org Git - flightgear.git/blobdiff - src/Navaids/routePath.hxx
Fix flight-plan course and distance computations.
[flightgear.git] / src / Navaids / routePath.hxx
index 778e0d00ef68a268b9931bc62095a4403cadddfa..ddc15693ed588df8e91779ddb2a1d56f9d384352 100644 (file)
@@ -44,6 +44,9 @@ public:
   
   SGGeod positionForIndex(int index) const;
   
+  double computeDistanceForIndex(int index) const;
+  double computeTrackForIndex(int index) const;
+
 private:
   void commonInit();
   
@@ -53,7 +56,6 @@ private:
   
   bool computedPositionForIndex(int index, SGGeod& pos) const;
   double computeAltitudeForIndex(int index) const;
-  double computeTrackForIndex(int index) const;
   
   void interpolateGreatCircle(const SGGeod& aFrom, const SGGeod& aTo, SGGeodVec& r) const;