+ /**
+ * Calculate course and distances. For WGS84 and SPHERICAL
+ * coordinates lat, lon, and course are in degrees, alt and
+ * distance are in meters. For CARTESIAN coordinates x = lon, y =
+ * lat. Course is in degrees and distance is in what ever units x
+ * and y are in.
+ * @param cur_lon (in) current longitude
+ * @param cur_lat (in) current latitude
+ * @param cur_alt (in) current altitude
+ * @param course (out) heading from current location to this waypoint
+ * @param distance (out) distance from current location to this waypoint
+ */
+ void CourseAndDistance( const double cur_lon, const double cur_lat,
+ const double cur_alt,
+ double *course, double *distance ) const;
+
+ /**
+ * Calculate course and distances between a specified starting waypoint
+ * and this waypoint.
+ * @param wp (in) original waypoint
+ * @param course (out) heading from current location to this waypoint
+ * @param distance (out) distance from current location to this waypoint
+ */
+ void CourseAndDistance( const SGWayPoint &wp,
+ double *course, double *distance ) const;
+
+ /** @return waypoint mode */