QwtArrayData(3)
β¨ NAME β¨
QwtArrayData β okay so this is the name, and that's literally all the original NAME line gives us (the little description slot was left blank, no cap, so I'm not gonna make anything up π ). It comes to you from the Qwt User's Guide, bestie. π«Ά
πΈ 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() constvirtual QwtData * copy() constQwtArrayData & operator=(const QwtArrayData &)virtual size_t size() constvirtual double x(size_t i) constconst QwtArray<double> & xData() constvirtual double y(size_t i) constconst QwtArray<double> & yData() const
π§ Additional Inherited Members
Yeah so there's a whole Additional Inherited Members section on this page too β it's the stuff it gets handed down from QwtData, and the page keeps the deets over there. Not me being mysterious, that's just how the original rolls. π
π¦ DESCRIPTION π¦
Detailed Description: it's a data class containing two QwtArray<double> objects. That's it. That's the whole vibe. Two arrays, x and y, bestie-fied into one little container. Iconic. β¨
π CONSTRUCTOR & DESTRUCTOR DOCUMENTATION π
QwtArrayData::QwtArrayData(const QwtArray<double> &x, const QwtArray<double> &y)
Constructor, babes. It builds the thing.
Parameters:
xβ array of x valuesyβ array of y values
See also: QwtPlotCurve::setData()
QwtArrayData::QwtArrayData(const double *x, const double *y, size_t size)
Constructor again, but this time you're passing raw pointers like a main character. π
Parameters:
xβ array of x valuesyβ array of y valuessizeβ size of the x and y arrays
See also: QwtPlotCurve::setData()
π MEMBER FUNCTION DOCUMENTATION π
QwtDoubleRect QwtArrayData::boundingRect() const [virtual]
Gives you back the bounding rectangle of the data. But here's the tea π΅ β if there is no bounding rect, like when the data is empty, then the rectangle is invalid, as in:
QwtDoubleRect::isValid() == false
So don't come crying to me when isValid() says false on empty data, that's just the rules. π
Reimplemented from QwtData.
QwtData * QwtArrayData::copy() const [virtual]
Returns: a pointer to a copy β it's a virtual copy constructor, lowkey the classic move.
Implements QwtData.
size_t QwtArrayData::size() const [virtual]
Returns: the size of the data set.
Implements QwtData.
double QwtArrayData::x(size_t i) const [virtual]
Returns the x value of data point i. Simple. Slay.
Parameters:
iβ index
Returns: x β x value of data point i
Implements QwtData.
const QwtArray<double> & QwtArrayData::xData() const
Returns: the array of the x-values. Handing you the whole thing, no crumbs. π
double QwtArrayData::y(size_t i) const [virtual]
Returns the y value of data point i. Same energy, different axis.
Parameters:
iβ index
Returns: y β y value of data point i
Implements QwtData.
const QwtArray<double> & QwtArrayData::yData() const
Returns: the array of the y-values. Matching set, obviously. π
π AUTHOR π
Generated automatically by Doxygen for the Qwt User's Guide, straight from the source code. Not a human author, just a robot doing its little robot thing and honestly? It ate. π€β¨
Version 5.2.3, dated Tue Nov 20 2012 β that's the footer, bestie, and this whole page was literally QwtArrayData(3). Byeee, go plot something gorgeous πππ¦
π¦ where this page comes from
- opensuse-leap 16.0: qwt-devel 5.2.3_qt5+git20181129.2819734-bp160.1.13 Β· SUSE-QWT-1.0
- opensuse-leap 16.0: qwt-devel 5.2.3_qt5+git20181129.2819734-bp160.1.13 Β· SUSE-QWT-1.0
- opensuse-leap 16.0: qwt-devel 5.2.3_qt5+git20181129.2819734-bp160.1.13 Β· SUSE-QWT-1.0
- opensuse-leap 16.0: qwt-devel 5.2.3_qt5+git20181129.2819734-bp160.1.13 Β· SUSE-QWT-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms