Changeset 4322 in ntrip for trunk/BNC/src/rinex/polarplot.cpp


Ignore:
Timestamp:
Jun 23, 2012, 4:51:25 PM (12 years ago)
Author:
mervart
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/BNC/src/rinex/polarplot.cpp

    r4321 r4322  
    4343}
    4444
    45 // Sample (virtual)
     45// Sample (virtual) - this is for testing only
    4646////////////////////////////////////////////////////////////////////////////
    4747t_polarPoint t_polarData::sample(size_t ii) const {
     
    5555  const double rr    = zenithInterval.minValue() + ii * stepR;
    5656
    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);
    5863}
    5964
     
    8388  // Scales
    8489  // ------
    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);
    8792
    8893  // Grids, Axes
Note: See TracChangeset for help on using the changeset viewer.