Eneboo - Documentación para desarrolladores
|
Data class containing two pointers to memory blocks of doubles. Más...
#include <qwt_data.h>
Métodos públicos | |
QwtCPointerData (const double *x, const double *y, size_t size) | |
QwtCPointerData & | operator= (const QwtCPointerData &) |
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 double * | xData () const |
const double * | yData () const |
virtual QwtDoubleRect | boundingRect () const |
Data class containing two pointers to memory blocks of doubles.
QwtCPointerData::QwtCPointerData | ( | 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 QwtCPointerData::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 * QwtCPointerData::copy | ( | ) | const [virtual] |
Implementa QwtData.
QwtCPointerData & QwtCPointerData::operator= | ( | const QwtCPointerData & | data | ) |
Assignment.
double QwtCPointerData::x | ( | size_t | i | ) | const [virtual] |
const double * QwtCPointerData::xData | ( | ) | const |
double QwtCPointerData::y | ( | size_t | i | ) | const [virtual] |
const double * QwtCPointerData::yData | ( | ) | const |