13#include "qwt_global.h"
14#include "qwt_spline.h"
22#if QT_VERSION < 0x060000
23template<
typename T >
class QVector;
159 void setParametrization(
int type );
163 void setBoundaryType( BoundaryType );
164 BoundaryType boundaryType()
const;
166 void setBoundaryValue( BoundaryPosition,
double value );
167 double boundaryValue( BoundaryPosition )
const;
169 void setBoundaryCondition( BoundaryPosition,
int condition );
170 int boundaryCondition( BoundaryPosition )
const;
172 void setBoundaryConditions(
int condition,
173 double valueBegin = 0.0,
double valueEnd = 0.0 );
175 virtual QPolygonF polygon(
const QPolygonF&,
double tolerance )
const;
178 virtual uint locality()
const;
199 virtual QPolygonF equidistantPolygon(
const QPolygonF&,
200 double distance,
bool withNodes )
const;
202 virtual QPolygonF polygon(
203 const QPolygonF&,
double tolerance )
const QWT_OVERRIDE;
205 virtual QPainterPath painterPath(
const QPolygonF& )
const QWT_OVERRIDE;
241 virtual QPainterPath painterPath(
const QPolygonF& )
const QWT_OVERRIDE;
242 virtual QVector< QLineF > bezierControlLines(
const QPolygonF& )
const QWT_OVERRIDE;
244 virtual QPolygonF equidistantPolygon(
const QPolygonF&,
245 double distance,
bool withNodes )
const QWT_OVERRIDE;
251 virtual double slopeAtBeginning(
const QPolygonF&,
double slopeNext )
const;
252 virtual double slopeAtEnd(
const QPolygonF&,
double slopeBefore )
const;
283 CubicRunout = LinearRunout + 1,
298 virtual QPainterPath painterPath(
const QPolygonF& )
const QWT_OVERRIDE;
299 virtual QVector< QLineF > bezierControlLines(
const QPolygonF& )
const QWT_OVERRIDE;
301 virtual QPolygonF equidistantPolygon(
const QPolygonF&,
302 double distance,
bool withNodes )
const QWT_OVERRIDE;
Base class for spline interpolations providing a first order parametric continuity ( C1 ) between adj...
virtual QVector< double > slopes(const QPolygonF &) const =0
Find the first derivative at the control points.
Base class for spline interpolations providing a second order parametric continuity ( C2 ) between ad...
virtual QVector< double > curvatures(const QPolygonF &) const =0
Find the second derivative at the control points.
Base class for spline interpolations providing a first order geometric continuity ( G1 ) between adjo...
Base class for all splines.
@ AtBeginning
the condition is at the beginning of the polynomial
virtual QPainterPath painterPath(const QPolygonF &) const =0
BoundaryCondition
Boundary condition.
Base class for a spline interpolation.
virtual QVector< QLineF > bezierControlLines(const QPolygonF &) const =0
Interpolate a curve with Bezier curves.
Curve parametrization used for a spline interpolation.
A cubic polynomial without constant term.