10#if !defined(GEOGRAPHICLIB_GEODESICLINEEXACT_HPP)
11#define GEOGRAPHICLIB_GEODESICLINEEXACT_HPP 1
20# pragma warning (push)
21# pragma warning (disable: 4251)
50 real _lat1, _lon1, _azi1;
51 real _a, _f, _b, _c2, _f1, _e2, _salp0, _calp0, _k2,
52 _salp1, _calp1, _ssig1, _csig1, _dn1, _stau1, _ctau1,
53 _somg1, _comg1, _cchi1,
54 _aA4, _eE0, _dD0, _hH0, _eE1, _dD1, _hH1;
57 std::vector<real> _cC4a;
63 real azi1, real salp1, real calp1,
67 real azi1, real salp1, real calp1,
68 unsigned caps,
bool arcmode, real s13_a13);
70 static constexpr unsigned CAP_NONE = GeodesicExact::CAP_NONE;
71 static constexpr unsigned CAP_E = GeodesicExact::CAP_E;
72 static constexpr unsigned CAP_D = GeodesicExact::CAP_D;
73 static constexpr unsigned CAP_H = GeodesicExact::CAP_H;
74 static constexpr unsigned CAP_C4 = GeodesicExact::CAP_C4;
75 static constexpr unsigned CAP_ALL = GeodesicExact::CAP_ALL;
76 static constexpr unsigned CAP_MASK = GeodesicExact::CAP_MASK;
77 static constexpr unsigned OUT_ALL = GeodesicExact::OUT_ALL;
78 static constexpr unsigned OUT_MASK = GeodesicExact::OUT_MASK;
207 GeodesicLineExact(
const GeodesicExact& g, real lat1, real lon1, real azi1,
208 unsigned caps =
ALL);
264 real& m12, real& M12, real& M21, real& S12)
const {
269 lat2, lon2, azi2, t, m12, M12, M21, S12);
280 lat2, lon2, t, t, t, t, t, t);
290 lat2, lon2, azi2, t, t, t, t, t);
302 lat2, lon2, azi2, t, m12, t, t, t);
309 real& M12, real& M21)
const {
314 lat2, lon2, azi2, t, t, M12, M21, t);
321 real& m12, real& M12, real& M21)
const {
326 lat2, lon2, azi2, t, m12, M12, M21, t);
372 real& s12, real& m12, real& M12, real& M21, real& S12)
377 lat2, lon2, azi2, s12, m12, M12, M21, S12);
387 lat2, lon2, t, t, t, t, t, t);
393 void ArcPosition(real a12, real& lat2, real& lon2, real& azi2)
const {
397 lat2, lon2, azi2, t, t, t, t, t);
403 void ArcPosition(real a12, real& lat2, real& lon2, real& azi2, real& s12)
408 lat2, lon2, azi2, s12, t, t, t, t);
415 real& s12, real& m12)
const {
420 lat2, lon2, azi2, s12, m12, t, t, t);
427 real& s12, real& M12, real& M21)
const {
432 lat2, lon2, azi2, s12, t, M12, M21, t);
439 real& s12, real& m12, real& M12, real& M21)
const {
444 lat2, lon2, azi2, s12, m12, M12, M21, t);
510 Math::real GenPosition(
bool arcmode,
real s12_a12,
unsigned outmask,
529 void SetDistance(
real s13);
540 void SetArc(
real a13);
553 void GenSetDistance(
bool arcmode,
real s13_a13);
562 bool Init()
const {
return _caps != 0U; }
589 {
if (
Init()) { sazi1 = _salp1; cazi1 = _calp1; } }
607 {
if (
Init()) { sazi0 = _salp0; cazi0 = _calp0; } }
649 return (_caps & testcaps) == testcaps;
679# pragma warning (pop)
Header for GeographicLib::Constants class.
#define GEOGRAPHICLIB_EXPORT
Header for GeographicLib::EllipticFunction class.
GeographicLib::Math::real real
Header for GeographicLib::GeodesicExact class.
Elliptic integrals and functions.
Math::real Flattening() const
void ArcPosition(real a12, real &lat2, real &lon2, real &azi2) const
void ArcPosition(real a12, real &lat2, real &lon2, real &azi2, real &s12) const
friend class GeodesicExact
void EquatorialAzimuth(real &sazi0, real &cazi0) const
Math::real Longitude() const
Math::real EquatorialArc() 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
Math::real Position(real s12, real &lat2, real &lon2, real &azi2, real &m12, real &M12, real &M21, real &S12) const
unsigned Capabilities() const
void ArcPosition(real a12, real &lat2, real &lon2, real &azi2, real &s12, real &m12, real &M12, real &M21, real &S12) const
void ArcPosition(real a12, real &lat2, real &lon2, real &azi2, real &s12, real &M12, real &M21) const
Math::real Latitude() const
Math::real EquatorialAzimuth() const
void ArcPosition(real a12, real &lat2, real &lon2) const
Math::real Position(real s12, real &lat2, real &lon2, real &azi2, real &M12, real &M21) const
Math::real Azimuth() const
Math::real GenDistance(bool arcmode) const
Math::real Distance() const
Math::real Position(real s12, real &lat2, real &lon2, real &azi2, real &m12, real &M12, real &M21) const
friend class GeodesicLine
Math::real Position(real s12, real &lat2, real &lon2) const
void ArcPosition(real a12, real &lat2, real &lon2, real &azi2, real &s12, real &m12) const
bool Capabilities(unsigned testcaps) const
void ArcPosition(real a12, real &lat2, real &lon2, real &azi2, real &s12, real &m12, real &M12, real &M21) const
void Azimuth(real &sazi1, real &cazi1) const
Math::real EquatorialRadius() const
Math::real Position(real s12, real &lat2, real &lon2, real &azi2) const
Math::real Position(real s12, real &lat2, real &lon2, real &azi2, real &m12) const
static T atan2d(T y, T x)
Namespace for GeographicLib.