An approximation using a basis spline. More...
#include <qwt_spline_basis.h>

Public Member Functions | |
| virtual uint | locality () const |
| The locality is always 2. | |
| virtual QPainterPath | painterPath (const QPolygonF &) const |
| QwtSplineBasis () | |
| Constructor. | |
| virtual | ~QwtSplineBasis () |
| Destructor. | |
An approximation using a basis spline.
QwtSplineBasis approximates a set of points by a polynomials with C2 continuity ( = first and second derivatives are equal ) at the end points.
The end points of the spline do not match the original points.
Definition at line 24 of file qwt_spline_basis.h.
Constructor.
Definition at line 215 of file qwt_spline_basis.cpp.
| QwtSplineBasis::~QwtSplineBasis | ( | ) | [virtual] |
Destructor.
Definition at line 220 of file qwt_spline_basis.cpp.
| uint QwtSplineBasis::locality | ( | ) | const [virtual] |
The locality is always 2.
Reimplemented from QwtSpline.
Definition at line 225 of file qwt_spline_basis.cpp.
| QPainterPath QwtSplineBasis::painterPath | ( | const QPolygonF & | points | ) | const [virtual] |
Approximates a polygon piecewise with cubic Bezier curves and returns them as QPainterPath.
| points | Control points |
Implements QwtSpline.
Definition at line 237 of file qwt_spline_basis.cpp.