]> git.mxchange.org Git - simgear.git/blobdiff - simgear/math/SGGeodesy.hxx
More error reporting from TerraSync/HTTP
[simgear.git] / simgear / math / SGGeodesy.hxx
index 060bf4d3f50ae98a51438805551ceb7121ad34e3..cce38199b6b252de56afde984f67c3cbaf6c988d 100644 (file)
@@ -50,6 +50,11 @@ public:
   static bool direct(const SGGeod& p1, double course1,
                      double distance, SGGeod& p2, double& course2);
 
+  /// overloaded version of above, returns new value directly, throws
+  /// an sg_exception on failure.
+  static SGGeod direct(const SGGeod& p1, double course1,
+                     double distance);
+
   static bool inverse(const SGGeod& p1, const SGGeod& p2, double& course1,
                       double& course2, double& distance);