Changeset 4322 in ntrip
- Timestamp:
- Jun 23, 2012, 4:51:25 PM (12 years ago)
- Location:
- trunk/BNC/src/rinex
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/BNC/src/rinex/polarplot.cpp
r4321 r4322 43 43 } 44 44 45 // Sample (virtual) 45 // Sample (virtual) - this is for testing only 46 46 //////////////////////////////////////////////////////////////////////////// 47 47 t_polarPoint t_polarData::sample(size_t ii) const { … … 55 55 const double rr = zenithInterval.minValue() + ii * stepR; 56 56 57 return t_polarPoint(aa, rr); 57 double value = 0.0; 58 if (ii % 3 == 0) { 59 value = 1.0; 60 } 61 62 return t_polarPoint(aa, rr, value); 58 63 } 59 64 … … 83 88 // Scales 84 89 // ------ 85 setScale(QwtPolar::Radius, 0.0, 90.0);86 setScale(QwtPolar::Azimuth, 360.0, 0, 30.0);90 setScale(QwtPolar::Radius, 0.0, 90.0); 91 setScale(QwtPolar::Azimuth, 360.0, 0.0, 30.0); 87 92 88 93 // Grids, Axes -
trunk/BNC/src/rinex/polarplot.h
r4321 r4322 23 23 class t_polarPoint : public QwtPointPolar { 24 24 public: 25 t_polarPoint(double azimuth, double zenith) : QwtPointPolar(azimuth, zenith) {} 25 t_polarPoint(double az, double zen, double value) : QwtPointPolar(az, zen) { 26 _value = value; 27 } 26 28 ~t_polarPoint() {} 27 double zz; // the third coordinate29 double _value; // the third coordinate 28 30 }; 29 31 … … 41 43 } 42 44 protected: 43 size_t 45 size_t _size; 44 46 }; 45 47
Note:
See TracChangeset
for help on using the changeset viewer.