Go to the documentation of this file.
17 GeodesicExact geod(Constants::WGS84_a(), Constants::WGS84_f());
20 lat1 = 40.640, lon1 = -73.779,
21 lat2 = 1.359, lon2 = 103.989;
26 cout << fixed << setprecision(3);
30 for (
int i = 0;
i <= num; ++
i) {
33 cout <<
i <<
" " <<
lat <<
" " <<
lon <<
"\n";
38 double da = line.
Arc() / num;
39 for (
int i = 0;
i <= num; ++
i) {
42 cout <<
i <<
" " <<
lat <<
" " <<
lon <<
"\n";
46 catch (
const exception&
e) {
47 cerr <<
"Caught exception: " <<
e.what() <<
"\n";
Exact geodesic calculations.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Namespace for GeographicLib.
Header for GeographicLib::GeodesicExact class.
Header for GeographicLib::GeodesicLineExact class.
void ArcPosition(real a12, real &lat2, real &lon2, real &azi2, real &s12, real &m12, real &M12, real &M21, real &S12) const
Math::real Distance() const
GeodesicLineExact InverseLine(real lat1, real lon1, real lat2, real lon2, unsigned caps=ALL) const
Header for GeographicLib::Constants class.
Math::real Position(real s12, real &lat2, real &lon2, real &azi2, real &m12, real &M12, real &M21, real &S12) const
const EIGEN_DEVICE_FUNC CeilReturnType ceil() const
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:16