Go to the documentation of this file.
21 {
Reset(lat0, lon0); }
24 _meridian = _earth.
Line(lat0, lon0, real(0),
35 real& azi, real& rk)
const {
39 real sig12, s12, azi1, azi2;
40 sig12 = _earth.
Inverse(lat, -abs(dlon), lat, abs(dlon), s12, azi1, azi2);
45 if (abs(dlon) <= 90) {
64 t, t, t, t, t, t, rk, t);
69 sbet1 = lat >=0 ? calp0 : -calp0,
70 cbet1 = abs(dlon) <= 90 ? abs(salp0) : -abs(salp0),
71 sbet01 = sbet1 * _cbet0 - cbet1 * _sbet0,
72 cbet01 = cbet1 * _cbet0 + sbet1 * _sbet0,
76 t, t, t, y, t, t, t, t);
80 real& azi, real& rk)
const {
85 _meridian.
Position(y, lat1, lon1, azi0);
86 _earth.
Direct(lat1, lon1, azi0 + 90, x, lat, lon, azi, rk, t);
static T AngNormalize(T x)
Math::real Flattening() const
void Forward(real lat, real lon, real &x, real &y, real &azi, real &rk) const
Namespace for GeographicLib.
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 Direct(real lat1, real lon1, real azi1, real s12, real &lat2, real &lon2, real &azi2, real &m12, real &M12, real &M21, real &S12) const
static void norm(T &x, T &y)
Math::real Position(real s12, real &lat2, real &lon2, real &azi2, real &m12, real &M12, real &M21, real &S12) const
void Reverse(real x, real y, real &lat, real &lon, real &azi, real &rk) const
CassiniSoldner(const Geodesic &earth=Geodesic::WGS84())
static T AngDiff(T x, T y, T &e)
GeodesicLine Line(real lat1, real lon1, real azi1, unsigned caps=ALL) const
Math::real LongitudeOrigin() const
Header for GeographicLib::CassiniSoldner class.
void Reset(real lat0, real lon0)
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
Math::real LatitudeOrigin() const
static void sincosd(T x, T &sinx, T &cosx)