Changeset 2059 in ntrip
- Timestamp:
- Dec 1, 2009, 11:58:48 AM (15 years ago)
- Location:
- trunk/BNC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/bncmodel.cpp
r2058 r2059 49 49 // Constructor 50 50 //////////////////////////////////////////////////////////////////////////// 51 bncParam::bncParam() { 51 bncParam::bncParam(bncParam::parType typeIn) { 52 type = typeIn; 52 53 } 53 54 … … 60 61 //////////////////////////////////////////////////////////////////////////// 61 62 bncModel::bncModel() { 62 _xcBanc.ReSize(4); 63 _xcBanc.ReSize(4); _xcBanc = 0.0; 64 _params.push_back(new bncParam(bncParam::CRD_X)); 65 _params.push_back(new bncParam(bncParam::CRD_Y)); 66 _params.push_back(new bncParam(bncParam::CRD_Z)); 63 67 } 64 68 -
trunk/BNC/bncmodel.h
r2058 r2059 35 35 class bncParam { 36 36 public: 37 enum type {CRD_X, CRD_Y, CRD_Z, TROPO, AMB_L3};38 bncParam( );37 enum parType {CRD_X, CRD_Y, CRD_Z, TROPO, AMB_L3}; 38 bncParam(parType typeIn); 39 39 ~bncParam(); 40 double x0; 40 parType type; 41 double x0; 41 42 }; 42 43 … … 49 50 50 51 private: 51 Matrix _QQ; 52 ColumnVector _xx; 53 ColumnVector _xcBanc; 52 QList<bncParam*> _params; 53 Matrix _QQ; 54 ColumnVector _xx; 55 ColumnVector _xcBanc; 54 56 }; 55 57
Note:
See TracChangeset
for help on using the changeset viewer.