/** * Evaluate disturbing potential in geocentric coordinates. * * @param[in] X geocentric coordinate of point (meters). * @param[in] Y geocentric coordinate of point (meters). * @param[in] Z geocentric coordinate of point (meters). * @return \e T = \e W - \e U the disturbing potential (also called the * anomalous potential) (m<sup>2</sup> s<sup>−2</sup>). **********************************************************************/ Math::real T(real X, real Y, real Z) const throw() { real dummy; return InternalT(X, Y, Z, dummy, dummy, dummy, false, true); }
/** * Evaluate disturbing potential in geocentric coordinates. * * @param[in] lon the geographic longitude (degrees). * @return \e T = \e W - \e U the disturbing potential (also called the * anomalous potential) (m<sup>2</sup> s<sup>−2</sup>). **********************************************************************/ Math::real T(real lon) const { real clam, slam, dummy; CircularEngine::cossin(lon, clam, slam); return InternalT(clam, slam, dummy, dummy, dummy, false, true); }
/** * Evaluate the components of the gravity disturbance in geocentric * coordinates. * * @param[in] X geocentric coordinate of point (meters). * @param[in] Y geocentric coordinate of point (meters). * @param[in] Z geocentric coordinate of point (meters). * @param[out] deltaX the \e X component of the gravity disturbance * (m s<sup>−2</sup>). * @param[out] deltaY the \e Y component of the gravity disturbance * (m s<sup>−2</sup>). * @param[out] deltaZ the \e Z component of the gravity disturbance * (m s<sup>−2</sup>). * @return \e T = \e W - \e U the disturbing potential (also called the * anomalous potential) (m<sup>2</sup> s<sup>−2</sup>). **********************************************************************/ Math::real T(real X, real Y, real Z, real& deltaX, real& deltaY, real& deltaZ) const throw() { return InternalT(X, Y, Z, deltaX, deltaY, deltaZ, true, true); }
/** * Evaluate the components of the gravity disturbance in geocentric * coordinates. * * @param[in] lon the geographic longitude (degrees). * @param[out] deltaX the \e X component of the gravity disturbance * (m s<sup>−2</sup>). * @param[out] deltaY the \e Y component of the gravity disturbance * (m s<sup>−2</sup>). * @param[out] deltaZ the \e Z component of the gravity disturbance * (m s<sup>−2</sup>). * @return \e T = \e W - \e U the disturbing potential (also called the * anomalous potential) (m<sup>2</sup> s<sup>−2</sup>). **********************************************************************/ Math::real T(real lon, real& deltaX, real& deltaY, real& deltaZ) const { real clam, slam; CircularEngine::cossin(lon, clam, slam); return InternalT(clam, slam, deltaX, deltaY, deltaZ, true, true); }