QwtArrayData(3) | Qwt User's Guide | QwtArrayData(3) |
NAME¶
QwtArrayData -
SYNOPSIS¶
#include <qwt_data.h>
Inherits QwtData.
Public Member Functions¶
QwtArrayData (const QwtArray< double > &x,
const QwtArray< double > &y)
QwtArrayData (const double *x, const double *y, size_t
size)
virtual QwtDoubleRect boundingRect () const
virtual QwtData * copy () const
QwtArrayData & operator= (const QwtArrayData &)
virtual size_t size () const
virtual double x (size_t i) const
const QwtArray< double > & xData () const
virtual double y (size_t i) const
const QwtArray< double > & yData () const
Additional Inherited Members¶
Detailed Description¶
Data class containing two QwtArray<double> objects.
Constructor & Destructor Documentation¶
QwtArrayData::QwtArrayData (const QwtArray< double > &x, const QwtArray< double > &y)¶
Constructor
Parameters:
y Array of y values
See also:
QwtArrayData::QwtArrayData (const double *x, const double *y, size_tsize)¶
Constructor
Parameters:
y Array of y values
size Size of the x and y arrays
See also:
Member Function Documentation¶
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
Reimplemented from QwtData.
QwtData * QwtArrayData::copy () const [virtual]¶
Returns:
Implements QwtData.
size_t QwtArrayData::size () const [virtual]¶
Returns:
Implements QwtData.
double QwtArrayData::x (size_ti) const [virtual]¶
Return the x value of data point i
Parameters:
Returns:
Implements QwtData.
const QwtArray< double > & QwtArrayData::xData () const¶
Returns:
double QwtArrayData::y (size_ti) const [virtual]¶
Return the y value of data point i
Parameters:
Returns:
Implements QwtData.
const QwtArray< double > & QwtArrayData::yData () const¶
Returns:
Author¶
Generated automatically by Doxygen for Qwt User's Guide from the source code.
Tue Nov 20 2012 | Version 5.2.3 |