FGTaxiNode* previousNode;
FGTaxiSegment* previousSeg;
+
public:
FGTaxiNode() :
index(0),
FGTaxiNode &operator =(const FGTaxiNode &other)
{
- geod = other.geod;
- index = other.index;
- isOnRunway = other.isOnRunway;
- holdType = other.holdType;
- next = other.next;
- pathScore = other.pathScore;
- previousNode = other.previousNode;
- previousSeg = other.previousSeg;
+ geod = other.geod;
+ index = other.index;
+ isOnRunway = other.isOnRunway;
+ holdType = other.holdType;
+ next = other.next;
+ pathScore = other.pathScore;
+ previousNode = other.previousNode;
+ previousSeg = other.previousSeg;
return *this;
};
double getPathScore() { return pathScore; };
double getLatitude() { return geod.getLatitudeDeg();};
double getLongitude(){ return geod.getLongitudeDeg();};
- double getElevation() { return geod.getElevationM();};
+ double getElevationM (double refelev=0);
+ double getElevationFt(double refelev=0);
const SGGeod& getGeod() const { return geod; }
FGTaxiSegmentVectorIterator getEndRoute() { return next.end(); };
bool operator<(const FGTaxiNode &other) const { return index < other.index; };
- //void sortEndSegments(bool);
};