SGWaypoint construction from SGGeod.
// Calculate course and distances between two waypoints
void SGWayPoint::CourseAndDistance( const SGWayPoint &wp,
double *course, double *dist ) const {
- CourseAndDistance( wp.get_target(), course, dist );
+ CourseAndDistance( wp.get_target(), *course, *dist );
}
/**
* Construct from a geodetic position, in WGS84 coordinates
*/
- SGWayPoint(const SGGeod& pos, const std::string& s = "", const std::string& n = "" );
+ SGWayPoint(const SGGeod& pos, const std::string& s, const std::string& n);
/** Destructor */
~SGWayPoint();