10 #ifndef QWT_WEEDING_CURVE_FITTER_H 11 #define QWT_WEEDING_CURVE_FITTER_H 44 void setTolerance(
double );
45 double tolerance()
const;
47 void setChunkSize( uint );
48 uint chunkSize()
const;
50 virtual QPolygonF
fitCurve(
const QPolygonF & )
const;
51 virtual QPainterPath
fitCurvePath(
const QPolygonF & )
const;
54 virtual QPolygonF simplify(
const QPolygonF & )
const;
A curve fitter implementing Douglas and Peucker algorithm.
virtual QPainterPath fitCurvePath(const QPolygonF &polygon) const =0
virtual QPolygonF fitCurve(const QPolygonF &polygon) const =0
Abstract base class for a curve fitter.