15 # pragma warning (disable: 4701 4127) 26 , _a(_earth.MajorRadius())
27 , _f(_earth.Flattening())
36 t, azi0, azi, m, M, t, t);
53 bool little = rho <=
_a;
61 int count =
numit_, trip = 0;
62 real lat1, lon1, azi1,
M;
65 line.Position(
s, lat1, lon1, azi1, m, M, t);
70 real ds = little ? (m/M - rho) * M * M : (rho - M/m) * m *
m;
77 lat = lat1; lon = lon1; azi = azi1; rk =
M;
Matrix< RealScalar, Dynamic, Dynamic > M
GeodesicLine Line(real lat1, real lon1, real azi1, unsigned caps=ALL) const
void Reverse(real lat0, real lon0, real x, real y, real &lat, real &lon, real &azi, real &rk) const
EIGEN_DEVICE_FUNC const SqrtReturnType sqrt() const
static void sincosd(T x, T &sinx, T &cosx)
real GenInverse(real lat1, real lon1, real lat2, real lon2, unsigned outmask, real &s12, real &salp1, real &calp1, real &salp2, real &calp2, real &m12, real &M12, real &M21, real &S12) const
Header for GeographicLib::Gnomonic class.
static T atan2d(T y, T x)
EIGEN_DEVICE_FUNC const AtanReturnType atan() const
Namespace for GeographicLib.
void Forward(real lat0, real lon0, real lat, real lon, real &x, real &y, real &azi, real &rk) const
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy x
Gnomonic(const Geodesic &earth=Geodesic::WGS84())
#define GEOGRAPHICLIB_PANIC