A spline with G1 continuity. More...
#include <qwt_spline_pleasing.h>

Public Member Functions | |
| virtual QVector< QLineF > | bezierControlLines (const QPolygonF &points) const |
| Interpolate a curve with Bezier curves. | |
| virtual uint | locality () const |
| virtual QPainterPath | painterPath (const QPolygonF &) const |
| Interpolate a curve with Bezier curves. | |
| QwtSplinePleasing () | |
| Constructor. | |
| virtual | ~QwtSplinePleasing () |
| Destructor. | |
A spline with G1 continuity.
QwtSplinePleasing is some sort of cardinal spline, with non C1 continous extra rules for narrow angles. It has a locality of 2.
Definition at line 23 of file qwt_spline_pleasing.h.
Constructor.
The default setting is a non closing spline with uniform parametrization. ( QwtSplineParametrization::ParameterUniform ).
Definition at line 263 of file qwt_spline_pleasing.cpp.
| QwtSplinePleasing::~QwtSplinePleasing | ( | ) | [virtual] |
Destructor.
Definition at line 269 of file qwt_spline_pleasing.cpp.
| QVector< QLineF > QwtSplinePleasing::bezierControlLines | ( | const QPolygonF & | points | ) | const [virtual] |
Interpolate a curve with Bezier curves.
Interpolates a polygon piecewise with cubic Bezier curves and returns the 2 control points of each curve as QLineF.
| points | Control points |
Implements QwtSplineInterpolating.
Definition at line 325 of file qwt_spline_pleasing.cpp.
| uint QwtSplinePleasing::locality | ( | ) | const [virtual] |
| QPainterPath QwtSplinePleasing::painterPath | ( | const QPolygonF & | points | ) | const [virtual] |
Interpolate a curve with Bezier curves.
Interpolates a polygon piecewise with cubic Bezier curves and returns them as QPainterPath.
| points | Control points |
Reimplemented from QwtSplineInterpolating.
Definition at line 288 of file qwt_spline_pleasing.cpp.