10#if !defined(GEOGRAPHICLIB_CIRCULARENGINE_HPP)
11#define GEOGRAPHICLIB_CIRCULARENGINE_HPP 1
19# pragma warning (push)
20# pragma warning (disable: 4251)
63 std::vector<real> _wc, _ws, _wrc, _wrs, _wtc, _wts;
67 real& gradx, real& grady, real& gradz)
const;
71 real a, real r, real u, real t)
79 , _wc(
std::vector<real>(_mM + 1, 0))
80 , _ws(
std::vector<real>(_mM + 1, 0))
81 , _wrc(
std::vector<real>(_gradp ? _mM + 1 : 0, 0))
82 , _wrs(
std::vector<real>(_gradp ? _mM + 1 : 0, 0))
83 , _wtc(
std::vector<real>(_gradp ? _mM + 1 : 0, 0))
84 , _wts(
std::vector<real>(_gradp ? _mM + 1 : 0, 0))
91 void SetCoeff(
int m,
real wc,
real ws)
92 { _wc[m] = wc; _ws[m] = ws; }
94 void SetCoeff(
int m,
real wc,
real ws,
96 _wc[m] = wc; _ws[m] = ws;
98 _wrc[m] = wrc; _wrs[m] = wrs;
99 _wtc[m] = wtc; _wts[m] = wts;
130 return Value(
false, sinlon, coslon, dummy, dummy, dummy);
142 return (*
this)(sinlon, coslon);
163 real& gradx, real& grady, real& gradz)
const {
164 return Value(
true, sinlon, coslon, gradx, grady, gradz);
182 real& gradx, real& grady, real& gradz)
const {
185 return (*
this)(sinlon, coslon, gradx, grady, gradz);
192# pragma warning (pop)
Header for GeographicLib::Constants class.
#define GEOGRAPHICLIB_EXPORT
GeographicLib::Math::real real
Header for GeographicLib::SphericalEngine class.
Spherical harmonic sums for a circle.
Math::real operator()(real sinlon, real coslon, real &gradx, real &grady, real &gradz) const
Math::real operator()(real lon, real &gradx, real &grady, real &gradz) const
Math::real operator()(real lon) const
Math::real operator()(real sinlon, real coslon) const
static void sincosd(T x, T &sinx, T &cosx)
The evaluation engine for SphericalHarmonic.
Namespace for GeographicLib.