namespace flightgear
{
class Hold;
+ class FlightPlan;
}
typedef std::vector<SGGeod> SGGeodVec;
SGGeod positionForIndex(int index) const;
+ double computeDistanceForIndex(int index) const;
+ double computeTrackForIndex(int index) const;
+
private:
void commonInit();
bool computedPositionForIndex(int index, SGGeod& pos) const;
double computeAltitudeForIndex(int index) const;
- double computeTrackForIndex(int index) const;
+
+ void interpolateGreatCircle(const SGGeod& aFrom, const SGGeod& aTo, SGGeodVec& r) const;
/**
* Find the distance (in Nm) to climb/descend a height in feet