Qwt Polar User's Guide  1.0.1
Public Member Functions
QwtPolarFitter Class Reference

#include <qwt_polar_fitter.h>

List of all members.

Public Member Functions

 QwtPolarFitter (int stepCount=5)
virtual ~QwtPolarFitter ()
void setStepCount (int size)
int stepCount () const
virtual QPolygonF fitCurve (const QPolygonF &) const

Detailed Description

A simple curve fitter for polar points.

QwtPolarFitter adds equidistant points between 2 curve points, so that the connection gets rounded according to the nature of a polar plot.

See also:
QwtPolarCurve::setCurveFitter()

Constructor & Destructor Documentation

QwtPolarFitter::QwtPolarFitter ( int  stepCount = 5)

Constructor

Parameters:
stepCountNumber of points, that will be inserted between 2 points
See also:
setStepCount()
QwtPolarFitter::~QwtPolarFitter ( ) [virtual]

Destructor.


Member Function Documentation

QPolygonF QwtPolarFitter::fitCurve ( const QPolygonF &  points) const [virtual]

Insert stepCount() number of additional points between 2 elements of points.

Parameters:
pointsArray of points
Returns:
Array of points including the additional points
void QwtPolarFitter::setStepCount ( int  stepCount)

Assign the number of points, that will be inserted between 2 points The default value is 5.

Parameters:
stepCountNumber of steps
See also:
stepCount()
int QwtPolarFitter::stepCount ( ) const
Returns:
Number of points, that will be inserted between 2 points
See also:
setStepCount()