A simple curve fitter for polar points.
More...
#include <qwt_polar_fitter.h>
|
| | QwtPolarFitter (int stepCount=5) |
| | Constructor.
|
| |
|
virtual | ~QwtPolarFitter () |
| | Destructor.
|
| |
| void | setStepCount (int size) |
| | Assign the number of points, that will be inserted between 2 points The default value is 5.
|
| |
| int | stepCount () const |
| |
| virtual QPolygonF | fitCurve (const QPolygonF &) const QWT_OVERRIDE |
| | Insert stepCount() number of additional points between 2 elements of points.
|
| |
| virtual QPainterPath | fitCurvePath (const QPolygonF &) const QWT_OVERRIDE |
| |
|
virtual | ~QwtCurveFitter () |
| | Destructor.
|
| |
| Mode | mode () 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.
- See also
- QwtPolarCurve::setCurveFitter()
◆ QwtPolarFitter()
| QwtPolarFitter::QwtPolarFitter |
( |
int |
stepCount = 5 | ) |
|
Constructor.
- Parameters
-
| stepCount | Number of points, that will be inserted between 2 points |
- See also
- setStepCount()
◆ fitCurve()
| QPolygonF QwtPolarFitter::fitCurve |
( |
const QPolygonF & |
points | ) |
const |
|
virtual |
Insert stepCount() number of additional points between 2 elements of points.
- Parameters
-
- Returns
- Array of points including the additional points
Implements QwtCurveFitter.
◆ fitCurvePath()
| QPainterPath QwtPolarFitter::fitCurvePath |
( |
const QPolygonF & |
points | ) |
const |
|
virtual |
◆ setStepCount()
| void QwtPolarFitter::setStepCount |
( |
int |
stepCount | ) |
|
Assign the number of points, that will be inserted between 2 points The default value is 5.
- Parameters
-
- See also
- stepCount()
◆ stepCount()
| int QwtPolarFitter::stepCount |
( |
| ) |
const |
- Returns
- Number of points, that will be inserted between 2 points
- See also
- setStepCount()
The documentation for this class was generated from the following files:
- /home/runner/work/QWT/QWT/src/qwt_polar_fitter.h
- /home/runner/work/QWT/QWT/src/qwt_polar_fitter.cpp