10#ifndef QWT_WEEDING_CURVE_FITTER_H
11#define QWT_WEEDING_CURVE_FITTER_H
13#include "qwt_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 QWT_OVERRIDE;
51 virtual QPainterPath
fitCurvePath(
const QPolygonF& )
const QWT_OVERRIDE;
54 virtual QPolygonF simplify(
const QPolygonF& )
const;
Abstract base class for a curve fitter.
virtual QPainterPath fitCurvePath(const QPolygonF &polygon) const =0
virtual QPolygonF fitCurve(const QPolygonF &polygon) const =0
A curve fitter implementing Douglas and Peucker algorithm.