KD Chart 2
[rev.2.7]
|
#include "KDChartPlotterDiagramCompressor.h"
#include "KDChartPlotterDiagramCompressor_p.h"
#include <QtCore/QPointF>
#include <limits>
#include <KDABLibFakes>
#include <QDebug>
Go to the source code of this file.
Functions | |
qreal | calculateSlope (const PlotterDiagramCompressor::DataPoint &lhs, const PlotterDiagramCompressor::DataPoint &rhs) |
bool | inBoundary (const QPair< qreal, qreal > &bounds, qreal value) |
qreal calculateSlope | ( | const PlotterDiagramCompressor::DataPoint & | lhs, |
const PlotterDiagramCompressor::DataPoint & | rhs | ||
) |
Definition at line 33 of file KDChartPlotterDiagramCompressor.cpp.
References KDChart::PlotterDiagramCompressor::DataPoint::key, and KDChart::PlotterDiagramCompressor::DataPoint::value.
Referenced by inBoundary(), and KDChart::PlotterDiagramCompressor::Iterator::isValid().
bool inBoundary | ( | const QPair< qreal, qreal > & | bounds, |
qreal | value | ||
) |
Definition at line 433 of file KDChartPlotterDiagramCompressor.cpp.
References calculateSlope(), KDChart::PlotterDiagramCompressor::DataPoint::distance(), KDChart::PlotterDiagramCompressor::end(), KDChart::PlotterDiagramCompressor::DataPoint::key, KDChart::PlotterDiagramCompressor::SLOPE, and KDChart::PlotterDiagramCompressor::DataPoint::value.