Index: trunk/BNC/src/rinex/polarplot.cpp
===================================================================
--- trunk/BNC/src/rinex/polarplot.cpp	(revision 4320)
+++ trunk/BNC/src/rinex/polarplot.cpp	(revision 4321)
@@ -23,14 +23,4 @@
 #include "polarplot.h"
 
-// Constructor
-////////////////////////////////////////////////////////////////////////////
-t_polarCurve::t_polarCurve() {
-}
-
-// Destructor (virtual)
-////////////////////////////////////////////////////////////////////////////
-t_polarCurve::~t_polarCurve() {
-}
-
 // Draw Symbols (virtual) - change symbol's color
 ////////////////////////////////////////////////////////////////////////////
@@ -53,36 +43,37 @@
 }
 
-// Constructor
-////////////////////////////////////////////////////////////////////////////
-t_polarData::t_polarData(size_t size) {
-  _zenithInterval.setMinValue(0.0);
-  _zenithInterval.setMaxValue(90.0);
-  _azimuthInterval.setMinValue(0.0);
-  _azimuthInterval.setMaxValue(360.0);
-  _size = size;
-}
-
 // Sample (virtual)
 ////////////////////////////////////////////////////////////////////////////
 t_polarPoint t_polarData::sample(size_t ii) const {
-  const double stepA = 4 * _azimuthInterval.width() / _size;
-  const double aa    = _azimuthInterval.minValue() + ii * stepA;
+  const QwtInterval zenithInterval(0.0, 90.0);
+  const QwtInterval azimuthInterval(0.0, 360.0 );
 
-  const double stepR = _zenithInterval.width() / _size;
-  const double rr    = _zenithInterval.minValue() + ii * stepR;
+  const double stepA = 4 * azimuthInterval.width() / _size;
+  const double aa    = azimuthInterval.minValue() + ii * stepA;
+
+  const double stepR = zenithInterval.width() / _size;
+  const double rr    = zenithInterval.minValue() + ii * stepR;
 
   return t_polarPoint(aa, rr); 
 }
 
-// Bounding Box (virtual)
+// 
 ////////////////////////////////////////////////////////////////////////////
-QRectF t_polarData::boundingRect() const {
-  return d_boundingRect;
+t_polarCurve* t_polarPlot::createCurve() const {
+  const int numPoints = 200;
+  t_polarCurve* curve = new t_polarCurve();
+  curve->setStyle(QwtPolarCurve::NoCurve);  // draw only symbols
+  curve->setSymbol(new QwtSymbol(QwtSymbol::Ellipse,
+                                 QBrush(Qt::red), QPen(Qt::red), 
+                                 QSize(3, 3)));
+  QwtSeriesData<t_polarPoint>* data = new t_polarData(numPoints);
+  curve->setData((QwtSeriesData<QwtPointPolar>*) data);
+  return curve;
 }
 
 // Constructor
 ////////////////////////////////////////////////////////////////////////////
-t_polarPlot::t_polarPlot( QWidget *parent ) : 
-QwtPolarPlot(QwtText("Polar Plot"), parent) {
+t_polarPlot::t_polarPlot(QWidget* parent) : 
+  QwtPolarPlot(QwtText("Polar Plot"), parent) {
 
   setPlotBackground(Qt::white);
@@ -122,20 +113,2 @@
 }
 
-// Destructor
-////////////////////////////////////////////////////////////////////////////
-t_polarPlot::~t_polarPlot() {
-}
-
-// 
-////////////////////////////////////////////////////////////////////////////
-t_polarCurve* t_polarPlot::createCurve() const {
-  const int numPoints = 200;
-  t_polarCurve* curve = new t_polarCurve();
-  curve->setStyle(QwtPolarCurve::NoCurve);  // draw only symbols
-  curve->setSymbol(new QwtSymbol(QwtSymbol::Ellipse,
-                                 QBrush(Qt::red), QPen(Qt::red), 
-                                 QSize(3, 3)));
-  QwtSeriesData<t_polarPoint>* data = new t_polarData(numPoints);
-  curve->setData((QwtSeriesData<QwtPointPolar>*) data);
-  return curve;
-}
Index: trunk/BNC/src/rinex/polarplot.h
===================================================================
--- trunk/BNC/src/rinex/polarplot.h	(revision 4320)
+++ trunk/BNC/src/rinex/polarplot.h	(revision 4321)
@@ -10,6 +10,6 @@
 class t_polarCurve : public QwtPolarCurve {
  public:
-  t_polarCurve();
-  virtual ~t_polarCurve();
+  t_polarCurve() {}
+  virtual ~t_polarCurve() {}
  protected:
    virtual void drawSymbols (QPainter* painter, const QwtSymbol& symbol, 
@@ -32,11 +32,13 @@
 class t_polarData: public QwtSeriesData<t_polarPoint> {
  public:
-  t_polarData(size_t size);
+  t_polarData(size_t size) {
+    _size = size;
+  }
   virtual t_polarPoint sample(size_t ii) const;
   virtual size_t size() const {return _size;}
-  virtual QRectF boundingRect() const;
+  virtual QRectF boundingRect() const {
+    return d_boundingRect;
+  }
  protected:
-  QwtInterval _zenithInterval;
-  QwtInterval _azimuthInterval;
   size_t      _size;
 };
@@ -49,7 +51,4 @@
  public:
   t_polarPlot(QWidget* = 0);
-  ~t_polarPlot();
-
- public slots:
 
  private:
