X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Fgnnode.cxx;h=c9883d812edda287d5fa6dd8b27f7b2fbe20f943;hb=386aefe69358ce41a11c9afeb8f56e26758fe56b;hp=d82ae28fbb21865231946c8d2dec70378e838210;hpb=1c8f2e3c5b7e5467aa858c735568d033bb309aef;p=flightgear.git diff --git a/src/Airports/gnnode.cxx b/src/Airports/gnnode.cxx index d82ae28fb..c9883d812 100644 --- a/src/Airports/gnnode.cxx +++ b/src/Airports/gnnode.cxx @@ -2,7 +2,7 @@ #include "groundnetwork.hxx" #include -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)