]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/groundnetwork.cxx
Clean up naming of the 'point on runway' helpers, to get rid of the confusing
[flightgear.git] / src / Airports / groundnetwork.cxx
index 1f2f0fcab452c61419303efd0872a027a8f3349d..9df9b5625d81ed7735a5d0d512224c4ddcc8dab0 100644 (file)
 //#include <Main/fg_props.hxx>
 //#include <Airports/runways.hxx>
 
+#include <Airports/dynamics.hxx>
+
 #include <AIModel/AIFlightPlan.hxx>
 
-//#include STL_STRING
+//#include <string>
 
 #include "groundnetwork.hxx"
 
@@ -310,7 +312,10 @@ void FGGroundNetwork::init()
   //exit(1);
 }
 
-
+int FGGroundNetwork::findNearestNode(const SGGeod& aGeod)
+{
+  return findNearestNode(aGeod.getLatitudeDeg(), aGeod.getLongitudeDeg());
+}
 
 int FGGroundNetwork::findNearestNode(double lat, double lon)
 {