21 {
Reset(lat0, lon0); }
39 real sig12, s12, azi1, azi2;
45 if (
abs(dlon) <= 90) {
62 perp.GenPosition(
true, -sig12,
64 t, t, t, t, t, t, rk, t);
69 sbet1 = lat >=0 ? calp0 : -calp0,
70 cbet1 =
abs(dlon) <= 90 ?
abs(salp0) : -
abs(salp0),
76 t, t, t, y, t, t, t, t);
86 _earth.
Direct(lat1, lon1, azi0 + 90, x, lat, lon, azi, rk, t);
static T AngNormalize(T x)
CassiniSoldner(const Geodesic &earth=Geodesic::WGS84())
Math::real LatitudeOrigin() const
Header for GeographicLib::CassiniSoldner class.
Math::real Direct(real lat1, real lon1, real azi1, real s12, real &lat2, real &lon2, real &azi2, real &m12, real &M12, real &M21, real &S12) const
GeodesicLine Line(real lat1, real lon1, real azi1, unsigned caps=ALL) const
void Forward(real lat, real lon, real &x, real &y, real &azi, real &rk) const
Math::real Inverse(real lat1, real lon1, real lat2, real lon2, real &s12, real &azi1, real &azi2, real &m12, real &M12, real &M21, real &S12) const
Math::real Position(real s12, real &lat2, real &lon2, real &azi2, real &m12, real &M12, real &M21, real &S12) const
static void sincosd(T x, T &sinx, T &cosx)
static T AngDiff(T x, T y, T &e)
static void norm(T &x, T &y)
void Reverse(real x, real y, real &lat, real &lon, real &azi, real &rk) const
Math::real GenPosition(bool arcmode, real s12_a12, unsigned outmask, real &lat2, real &lon2, real &azi2, real &s12, real &m12, real &M12, real &M21, real &S12) const
Point2(* f)(const Point3 &, OptionalJacobian< 2, 3 >)
Namespace for GeographicLib.
Jet< T, N > atan2(const Jet< T, N > &g, const Jet< T, N > &f)
Math::real Flattening() 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
void Reset(real lat0, real lon0)
Math::real LongitudeOrigin() const