Пример #1
0
 /**
  * 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>&minus;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);
 }
Пример #2
0
 /**
  * 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>&minus;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);
 }
Пример #3
0
 /**
  * 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>&minus;2</sup>).
  * @param[out] deltaY the \e Y component of the gravity disturbance
  *   (m s<sup>&minus;2</sup>).
  * @param[out] deltaZ the \e Z component of the gravity disturbance
  *   (m s<sup>&minus;2</sup>).
  * @return \e T = \e W - \e U the disturbing potential (also called the
  *   anomalous potential) (m<sup>2</sup> s<sup>&minus;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); }
Пример #4
0
 /**
  * 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>&minus;2</sup>).
  * @param[out] deltaY the \e Y component of the gravity disturbance
  *   (m s<sup>&minus;2</sup>).
  * @param[out] deltaZ the \e Z component of the gravity disturbance
  *   (m s<sup>&minus;2</sup>).
  * @return \e T = \e W - \e U the disturbing potential (also called the
  *   anomalous potential) (m<sup>2</sup> s<sup>&minus;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);
 }