Go to the documentation of this file.
17 Geodesic 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";
Array< double, 1, 3 > e(1./3., 0.5, 2.)
Namespace for GeographicLib.
Math::real Distance() const
Math::real Position(real s12, real &lat2, real &lon2, real &azi2, real &m12, real &M12, real &M21, real &S12) const
Header for GeographicLib::GeodesicLine class.
GeodesicLine InverseLine(real lat1, real lon1, real lat2, real lon2, unsigned caps=ALL) const
Header for GeographicLib::Constants class.
const EIGEN_DEVICE_FUNC CeilReturnType ceil() const
Header for GeographicLib::Geodesic class.
void ArcPosition(real a12, real &lat2, real &lon2, real &azi2, real &s12, real &m12, real &M12, real &M21, real &S12) const
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:02:16