Eneboo - Documentación para desarrolladores
|
Data class containing two QwtArray<double> objects. Más...
#include <qwt_data.h>
Métodos públicos | |
QwtArrayData (const QwtArray< double > &x, const QwtArray< double > &y) | |
QwtArrayData (const double *x, const double *y, size_t size) | |
QwtArrayData & | operator= (const QwtArrayData &) |
Assignment. | |
virtual QwtData * | copy () const |
virtual size_t | size () const |
virtual double | x (size_t i) const |
virtual double | y (size_t i) const |
const QwtArray< double > & | xData () const |
const QwtArray< double > & | yData () const |
virtual QwtDoubleRect | boundingRect () const |
Data class containing two QwtArray<double> objects.
QwtArrayData::QwtArrayData | ( | const QwtArray< double > & | x, |
const QwtArray< double > & | y | ||
) |
QwtArrayData::QwtArrayData | ( | const double * | x, |
const double * | y, | ||
size_t | size | ||
) |
Constructor
x | Array of x values |
y | Array of y values |
size | Size of the x and y arrays |
QwtDoubleRect QwtArrayData::boundingRect | ( | ) | const [virtual] |
Returns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: QwtDoubleRect::isValid() == false
Reimplementado de QwtData.
QwtData * QwtArrayData::copy | ( | ) | const [virtual] |
Implementa QwtData.
QwtArrayData & QwtArrayData::operator= | ( | const QwtArrayData & | data | ) |
Assignment.
double QwtArrayData::x | ( | size_t | i | ) | const [virtual] |
const QwtArray< double > & QwtArrayData::xData | ( | ) | const |
double QwtArrayData::y | ( | size_t | i | ) | const [virtual] |
const QwtArray< double > & QwtArrayData::yData | ( | ) | const |