Go to the documentation of this file.
77 const CivilTime j2000(2000, 1, 1, 12, 0, 0.0);
90 double timedif(
static_cast<double>((
MJD(t).
mjd -
MJD(j2000).
mjd)/365.25));
92 double xpbar(0.054 + timedif*0.00083);
93 double ypbar(0.357 + timedif*0.00395);
96 double m1(
xdisp-xpbar);
97 double m2(ypbar-
ydisp);
100 double sin2lat(
std::sin(2.0*latitude));
101 double cos2lat(
std::cos(2.0*latitude));
108 res[0] = -0.033 * sin2lat * ( m1*coslon + m2*sinlon );
109 res[1] = +0.009 * sinlat * ( m1*sinlon - m2*coslon );
110 res[2] = -0.009 * cos2lat * ( m1*coslon + m2*sinlon );
120 InvalidRequest ir(
"Unknown error when computing pole tides.");
double sin(gnsstk::Angle x)
double geodeticLatitude() const noexcept
return geodetic latitude (degrees North).
page HOWTO subpage DoxygenGuide Documenting Your Code page DoxygenGuide Documenting Your Code todo Flesh out this document section doctips Tips for Documenting When defining make sure that the prototype is identical between the cpp and hpp including both the namespaces and the parameter names for you have std::string as the return type in the hpp file and string as the return type in the cpp Doxygen may get confused and autolink to the cpp version with no documentation If you don t use the same parameter names between the cpp and hpp that will also confuse Doxygen Don t put type information in return or param documentation It doesn t really add anything and will often cause Doxygen to complain and not produce the documentation< br > use note Do not put a comma after a param name unless you mean to document multiple parameters< br/> the output stream</code >< br/> y
Triple getPoleTide(const CommonTime &t, const Position &p)
double xdisp
Pole displacement x, in arcseconds.
double cos(gnsstk::Angle x)
PoleTides & setXY(const double &x, const double &y)
double ydisp
Pole displacement y, in arcseconds.
double longitude() const noexcept
#define GNSSTK_THROW(exc)
static const double DEG_TO_RAD
Conversion Factor from degrees to radians (units: degrees^-1)
gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:40