class RoutePath
{
public:
- RoutePath(const flightgear::WayptVec& wpts);
RoutePath(const flightgear::FlightPlan* fp);
-
+ ~RoutePath();
+
SGGeodVec pathForIndex(int index) const;
SGGeod positionForIndex(int index) const;
void interpolateGreatCircle(const SGGeod& aFrom, const SGGeod& aTo, SGGeodVec& r) const;
- RoutePathPrivate* d;
-
-
- double _pathTurnRate; ///< degrees-per-second, defaults to 3, i.e 180 in a minute
+ std::auto_ptr<RoutePathPrivate> d;
};
#endif