Qwt Polar User's Guide
0.1.0
|
#include <qwt_polar_fitter.h>
Public Member Functions | |
QwtPolarFitter (int stepCount=5) | |
virtual | ~QwtPolarFitter () |
void | setStepCount (int size) |
int | stepCount () const |
virtual QPolygonF | fitCurve (const QPolygonF &) const |
A simple curve fitter for polar points.
QwtPolarFitter adds equidistant points between 2 curve points, so that the connection gets rounded according to the nature of a polar plot.
QwtPolarFitter::QwtPolarFitter | ( | int | stepCount = 5 | ) |
Constructor
stepCount | Number of points, that will be inserted between 2 points |
QwtPolarFitter::~QwtPolarFitter | ( | ) | [virtual] |
Destructor.
QPolygonF QwtPolarFitter::fitCurve | ( | const QPolygonF & | points | ) | const [virtual] |
Insert stepCount() number of additional points between 2 elements of points.
points | Array of points |
void QwtPolarFitter::setStepCount | ( | int | stepCount | ) |
Assign the number of points, that will be inserted between 2 points The default value is 5.
stepCount | Number of steps |
int QwtPolarFitter::stepCount | ( | ) | const |