QwtPolarFitter(3)
π QwtPolarFitter(3) β the polar curve fitter that eats
okay so bestie, welcome to QwtPolarFitter β a simple curve fitter for polar points β¨ It lives in the Qwt User's Guide library functions manual and honestly? it's giving main character energy for such a small class π
πΈ NAME πΈ
QwtPolarFitter β a simple curve fitter for polar points. that's it, that's the vibe π
β¨ SYNOPSIS β¨
#include <qwt_polar_fitter.h>
It inherits QwtCurveFitter (yes bestie, it's got a whole family tree π«Ά).
π Public Member Functions π
QwtPolarFitter(int stepCount = 5)β the constructor, defaultstepCountis5fr frvirtual ~QwtPolarFitter()β Destructor. she's done, she's logging off πvoid setStepCount(int size)β tell her how many points to insertint stepCount() constβ ask her how many points she's insertingvirtual QPolygonF fitCurve(const QPolygonF &) const overrideβ do the fitting, get aQPolygonFbackvirtual QPainterPath fitCurvePath(const QPolygonF &) const overrideβ do the fitting, get aQPainterPathback
π¦ Public Member Functions inherited from QwtCurveFitter π¦
virtual ~QwtCurveFitter()β Destructor. (again. her too π)Mode mode() constβ returns the mode
π Additional Inherited Members π
π Public Types inherited from QwtCurveFitter π
enum Mode { Polygon, Path }β preferred mode of the fitting algorithm π
π§ Protected Member Functions inherited from QwtCurveFitter π§
QwtCurveFitter(Mode mode)β the protected constructor, only for the inner circle
π Detailed Description π
QwtPolarFitter is a simple curve fitter for polar points. no cap, that's the whole thing π
The way that it works: QwtPolarFitter adds equidistant points between 2 curve points, so that the connection gets rounded according to the nature of a polar plot π₯ like, it literally just fills in the gaps so your curve looks smooth and cute instead of all jagged and aggressive π
See also: QwtPolarCurve::setCurveFitter() β go look at her, she's the one who actually calls this thing π«Ά
Definition at line 24 of file qwt_polar_fitter.h. (yes we cite our sources, we're not messy πΈ)
π Constructor & Destructor Documentation π
QwtPolarFitter::QwtPolarFitter(int stepCount = 5) β
Constructor. she's born β¨
Parameters:
stepCountβ number of points that will be inserted between 2 points
See also: setStepCount()
Definition at line 30 of file qwt_polar_fitter.cpp.
QwtPolarFitter::~QwtPolarFitter() [virtual] π
Destructor. she said bye bestie π
Definition at line 38 of file qwt_polar_fitter.cpp.
π¦ Member Function Documentation π¦
QPolygonF QwtPolarFitter::fitCurve(const QPolygonF & points) const [override], [virtual] π₯
Insert stepCount() number of additional points between 2 elements of points. the way that it just slots them in there π
Parameters:
pointsβ array of points
Returns: array of points including the additional points β¨
Implements QwtCurveFitter.
Definition at line 72 of file qwt_polar_fitter.cpp.
QPainterPath QwtPolarFitter::fitCurvePath(const QPolygonF & points) const [override], [virtual] π¨
same energy, but path-shaped π¦
Parameters:
pointsβ series of data points
Returns: curve path
See also: fitCurve()
Implements QwtCurveFitter.
Definition at line 110 of file qwt_polar_fitter.cpp.
void QwtPolarFitter::setStepCount(int stepCount) π
Assign the number of points that will be inserted between 2 points. The default value is 5. (iykyk β¨)
Parameters:
stepCountβ number of steps
See also: stepCount()
Definition at line 51 of file qwt_polar_fitter.cpp.
int QwtPolarFitter::stepCount() const πΈ
Returns: number of points that will be inserted between 2 points
See also: setStepCount() β it's giving mutuals π«Ά
Definition at line 60 of file qwt_polar_fitter.cpp.
π§ Author π§
Generated automatically by Doxygen for Qwt User's Guide from the source code. (not me writing this by hand, the robots ate and left no crumbs π€π )
and that's a wrap bestie!! this page came to you straight from the Qwt User's Guide ππ β it's QwtPolarFitter(3), go forth and round those polar curves πβπ¦ periodt π
π¦ where this page comes from
- alpine 3.24: qwt-doc 6.3.0-r0 Β· custom
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms