Go to the documentation of this file.
16 Rhumb rhumb(Constants::WGS84_a(), Constants::WGS84_f());
19 lat1 = 40.640, lon1 = -73.779,
20 lat2 = 1.359, lon2 = 103.989;
22 rhumb.
Inverse(lat1, lon1, lat2, lon2, s12, azi12);
28 cout << fixed << setprecision(3);
31 double ds = s12 / num;
32 for (
int i = 0;
i <= num; ++
i) {
35 cout <<
i <<
" " <<
lat <<
" " <<
lon <<
"\n";
39 catch (
const exception&
e) {
40 cerr <<
"Caught exception: " <<
e.what() <<
"\n";
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Namespace for GeographicLib.
Solve of the direct and inverse rhumb problems.
Header for GeographicLib::Rhumb and GeographicLib::RhumbLine classes.
void Inverse(real lat1, real lon1, real lat2, real lon2, real &s12, real &azi12, real &S12) const
Header for GeographicLib::Constants class.
Find a sequence of points on a single rhumb line.
RhumbLine Line(real lat1, real lon1, real azi12) const
const EIGEN_DEVICE_FUNC CeilReturnType ceil() const
void Position(real s12, real &lat2, real &lon2, real &S12) const
gtsam
Author(s):
autogenerated on Sun Dec 22 2024 04:11:31