- bookworm 6.1.4-2
- testing 6.1.4-2
- unstable 6.1.4-2
- experimental 6.2.0-1
QwtPointArrayData(3) | Qwt User's Guide | QwtPointArrayData(3) |
NAME¶
QwtPointArrayData - Interface for iterating over two QVector<double> objects.
SYNOPSIS¶
#include <qwt_point_data.h>
Inherits QwtSeriesData< QPointF >.
Public Member Functions¶
QwtPointArrayData (const QVector< double > &x,
const QVector< double > &y)
QwtPointArrayData (const double *x, const double *y, size_t
size)
virtual QRectF boundingRect () const
Calculate the bounding rectangle. virtual size_t size () const
virtual QPointF sample (size_t index) const
const QVector< double > & xData () const
const QVector< double > & yData () const
Additional Inherited Members¶
Detailed Description¶
Interface for iterating over two QVector<double> objects.
Constructor & Destructor Documentation¶
QwtPointArrayData::QwtPointArrayData (const QVector< double > & x, const QVector< double > & y)¶
Constructor
Parameters:
y Array of y values
See also:
QwtPointArrayData::QwtPointArrayData (const double * x, const double * y, size_t size)¶
Constructor
Parameters:
y Array of y values
size Size of the x and y arrays
See also:
Member Function Documentation¶
QRectF QwtPointArrayData::boundingRect () const [virtual]¶
Calculate the bounding rectangle. The bounding rectangle is calculated once by iterating over all points and is stored for all following requests.
Returns:
Implements QwtSeriesData< QPointF >.
QPointF QwtPointArrayData::sample (size_t index) const [virtual]¶
Return the sample at position i
Parameters:
Returns:
Implements QwtSeriesData< QPointF >.
size_t QwtPointArrayData::size () const [virtual]¶
Returns:
Implements QwtSeriesData< QPointF >.
const QVector< double > & QwtPointArrayData::xData () const¶
Returns:
const QVector< double > & QwtPointArrayData::yData () const¶
Returns:
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Wed Jan 2 2019 | Version 6.1.4 |