]> 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 b3b34d96001444e52cc03616530c26f1b5aed7e5..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
@@ -42,10 +42,28 @@ bool sortByLength(FGTaxiSegment *a, FGTaxiSegment *b) {
 /**************************************************************************
  * FGTaxiNode
  *************************************************************************/
-FGTaxiNode::FGTaxiNode()
+
+
+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)