X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FAirports%2Fgnnode.hxx;h=a7627715e8e55190add131526e69edc09bcda447;hb=808c4c635d9d07f812041169d4b30257fd80742f;hp=3358ea51e6e891a87adebad77adef2958bb3ec80;hpb=a6db6d89ff41a619569e6433409e8bf62ff98499;p=flightgear.git diff --git a/src/Airports/gnnode.hxx b/src/Airports/gnnode.hxx index 3358ea51e..a7627715e 100644 --- a/src/Airports/gnnode.hxx +++ b/src/Airports/gnnode.hxx @@ -83,6 +83,7 @@ FGTaxiNode &operator =(const FGTaxiNode &other) void setIndex(int idx) { index = idx; }; void setLatitude (double val); void setLongitude(double val); + void setElevation(double val); void setLatitude (const std::string& val); void setLongitude(const std::string& val); void addSegment(FGTaxiSegment *segment) { next.push_back(segment); }; @@ -99,6 +100,7 @@ FGTaxiNode &operator =(const FGTaxiNode &other) double getPathScore() { return pathScore; }; double getLatitude() { return geod.getLatitudeDeg();}; double getLongitude(){ return geod.getLongitudeDeg();}; + double getElevation() { return geod.getElevationM();}; const SGGeod& getGeod() const { return geod; } @@ -111,7 +113,7 @@ FGTaxiNode &operator =(const FGTaxiNode &other) FGTaxiSegmentVectorIterator getEndRoute() { return next.end(); }; bool operator<(const FGTaxiNode &other) const { return index < other.index; }; - void sortEndSegments(bool); + //void sortEndSegments(bool); };