Changeset 5839 in ntrip for trunk/BNC/src/PPP
- Timestamp:
- Aug 6, 2014, 3:59:50 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
TabularUnified trunk/BNC/src/PPP/pppInclude.h ¶
r5825 r5839 4 4 #include <string> 5 5 #include <vector> 6 #include <newmat.h> 6 7 7 8 #include "bncconst.h" … … 73 74 class t_orbCorr { 74 75 public: 76 ColumnVector getX(const bncTime& tt) const { 77 ColumnVector xx(3); 78 double dt = tt - _time; 79 xx[0] = _xr[0] + _dotXr[0] * dt; 80 xx[1] = _xr[1] + _dotXr[1] * dt; 81 xx[2] = _xr[2] + _dotXr[2] * dt; 82 return xx; 83 } 75 84 t_prn prn() const {return _prn;} 76 85 unsigned short IOD() const {return _iod;} … … 80 89 char _system; 81 90 double _xr[3]; 82 double _dotXr[3]; 91 double _dotXr[3]; 83 92 }; 84 93 85 94 class t_clkCorr { 86 95 public: 96 double getClk(const bncTime& tt) const { 97 double dt = tt - _time; 98 return _dClk + dt * _dotDClk + dt * dt * _dotDotDClk; 99 } 87 100 t_prn prn() const {return _prn;} 88 101 unsigned short IOD() const {return _iod;}
Note:
See TracChangeset
for help on using the changeset viewer.