QwtPolygonFData(3)

πŸ“¦
version 5.2.3_qt5+git20181129.2819734 Β· 2 versions
, in opensuse-leap 16.0

πŸ’– QwtPolygonFData πŸ’–

okay bestie, welcome to the Qwt User's Guide β€” this is the page for QwtPolygonFData(3), and honestly? she's a whole vibe. a little data-holder that just wants to hold your polygon points and be pretty about it. no cap. πŸ¦‹


✨ NAME ✨

QwtPolygonFData β€” that's it, that's the name, she said "my name is enough" πŸ’…


🌸 SYNOPSIS 🌸

#include <qwt_data.h>

Inherits QwtData. yes, she comes from a distinguished family, we love a legacy queen. πŸ‘‘

πŸŽ€ Public Member Functions πŸŽ€

QwtPolygonFData (const QPolygonF &)
virtual QwtData * copy () const
const QPolygonF & data () const
QwtPolygonFData & operator= (const QwtPolygonFData &)
virtual size_t size () const
virtual double x (size_t i) const
virtual double y (size_t i) const

🫢 Additional Inherited Members 🫢

(these are the ones she got from her parent QwtData, they're part of the package deal, iykyk)


🧚 Detailed Description 🧚

okay so, listen. this is a Data class containing a single QwtArray<QwtDoublePoint> object. literally that's the whole personality. it holds one array of double points, and that's all it needs to do. icon behavior, honestly. not every class needs to do the most. πŸ’–


🌈 Constructor & Destructor Documentation 🌈

QwtPolygonFData::QwtPolygonFData (const QPolygonF &polygon)

bestie, this is the Constructor. she's being born. 🐣

Parameters:

  • polygon β€” Polygon data. the actual points. the whole reason she exists.

See also:

  • QwtPlotCurve::setData() β€” go check that one out too, they're besties fr fr.

πŸ”₯ Member Function Documentation πŸ”₯

QwtData * QwtPolygonFData::copy () const β€” [virtual]

Returns:

  • Pointer to a copy (virtual copy constructor). she's cloning herself and honestly? slay.

Implements QwtData.


const QPolygonF & QwtPolygonFData::data () const

Returns:

  • Point array. that's the goods. the whole stash. hand it over. πŸ“

size_t QwtPolygonFData::size () const β€” [virtual]

Returns:

  • Size of the data set. how many points are we talking about here. the count. the census. πŸ“Š

Implements QwtData.


double QwtPolygonFData::x (size_t i) const β€” [virtual]

Return the x value of data point i. yeah she's giving coordinates. ⭐

Parameters:

  • i β€” Index.

Returns:

  • x β€” X value of data point i.

Implements QwtData.


double QwtPolygonFData::y (size_t i) const β€” [virtual]

Return the y value of data point i. the other half of the glow-up. ✨

Parameters:

  • i β€” Index.

Returns:

  • y β€” Y value of data point i.

Implements QwtData.


πŸ‘‘ Author πŸ‘‘

Generated automatically by Doxygen for Qwt User's Guide from the source code.

like, nobody hand-wrote this, the robot did it. and the robot ate. πŸ’€βœ¨


and that's the whole page, bestie!! stay hydrated, keep your polygon points together, and remember: QwtPolygonFData is just a girl holding an array of QwtDoublePoints. periodt. πŸ’…πŸ¦‹πŸŒΈ

Version 5.2.3 β€” Tue Nov 20 2012 β€” mwah, love u, bye!! πŸŽ€πŸ’–πŸ«Ά