Changeset 5450 in ntrip for trunk/GnssCenter/monitor/utils.cpp


Ignore:
Timestamp:
Sep 13, 2013, 11:32:51 AM (9 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GnssCenter/monitor/utils.cpp

    r5447 r5450  
    99// Rectangular Coordinates -> Ellipsoidal Coordinates
    1010////////////////////////////////////////////////////////////////////////////
    11 t_irc xyz2ell(const double* XYZ, double* Ell) {
     11t_CST::t_irc t_utils::xyz2ell(const double* XYZ, double* Ell) {
    1212
    1313  const double bell = t_CST::aell*(1.0-1.0/t_CST::fInv) ;
     
    3737    Ell[0] = atan(zps/(1.0-e2*nn/(nn+Ell[2]))) ;
    3838    if ( fabs(phiOld-Ell[0]) <= 1.0e-11 && fabs(hOld-Ell[2]) <= 1.0e-5 ) {
    39       return success;
     39      return t_CST::success;
    4040    }
    4141  }
    4242
    43   return failure;
     43  return t_CST::failure;
    4444}
    4545
    4646// Rectangular Coordinates -> North, East, Up Components
    4747////////////////////////////////////////////////////////////////////////////
    48 void xyz2neu(const double* Ell, const double* xyz, double* neu) {
     48void t_utils::xyz2neu(const double* Ell, const double* xyz, double* neu) {
    4949
    5050  double sinPhi = sin(Ell[0]);
     
    6767// North, East, Up Components -> Rectangular Coordinates
    6868////////////////////////////////////////////////////////////////////////////
    69 void neu2xyz(const double* Ell, const double* neu, double* xyz) {
     69void t_utils::neu2xyz(const double* Ell, const double* neu, double* xyz) {
    7070
    7171  double sinPhi = sin(Ell[0]);
Note: See TracChangeset for help on using the changeset viewer.