]> git.mxchange.org Git - flightgear.git/blobdiff - src/Airports/gnnode.cxx
Merge branch 'next' of gitorious.org:fg/flightgear into next
[flightgear.git] / src / Airports / gnnode.cxx
index d82ae28fbb21865231946c8d2dec70378e838210..c9883d812edda287d5fa6dd8b27f7b2fbe20f943 100644 (file)
@@ -2,7 +2,7 @@
 #include "groundnetwork.hxx"
 
 #include <algorithm>
-SG_USING_STD(sort);
+using std::sort;
 
 /*****************************************************************************
  * Helper function for parsing position string
@@ -44,6 +44,26 @@ bool sortByLength(FGTaxiSegment *a, FGTaxiSegment *b) {
  *************************************************************************/
 
 
+void FGTaxiNode::setLatitude (double val)
+{
+  geod.setLatitudeDeg(val);
+}
+
+void FGTaxiNode::setLongitude(double val)
+{
+  geod.setLongitudeDeg(val);
+}
+
+void FGTaxiNode::setLatitude (const string& val)
+{
+  geod.setLatitudeDeg(processPosition(val));
+}
+
+void FGTaxiNode::setLongitude(const string& val)
+{
+  geod.setLongitudeDeg(processPosition(val));
+}
+  
 void FGTaxiNode::sortEndSegments(bool byLength)
 {
   if (byLength)