X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=simgear%2Fmath%2FSGGeodesy.hxx;h=53e2cbb3734b749efc39923ae78434aa4ce7e072;hb=6a7c2000027cd22eea603e936ddbad1a5bfc8b04;hp=8128b8327f0c7af8365fefd66dc01e9a8c37a6f6;hpb=30529ccdf5ccd880dc68d9f83953584ba50eddfc;p=simgear.git diff --git a/simgear/math/SGGeodesy.hxx b/simgear/math/SGGeodesy.hxx index 8128b832..53e2cbb3 100644 --- a/simgear/math/SGGeodesy.hxx +++ b/simgear/math/SGGeodesy.hxx @@ -53,6 +53,10 @@ public: static bool inverse(const SGGeod& p1, const SGGeod& p2, double& course1, double& course2, double& distance); + static double courseDeg(const SGGeod& from, const SGGeod& to); + static double distanceM(const SGGeod& from, const SGGeod& to); + static double distanceNm(const SGGeod& from, const SGGeod& to); + // Geocentric course/distance computation static void advanceRadM(const SGGeoc& geoc, double course, double distance, SGGeoc& result);