.TH "QwtPolygonFData" 3 "Mon Aug 1 2011" "Version 5.2.2" "Qwt User's Guide" \" -*- nroff -*- .ad l .nh .SH NAME QwtPolygonFData \- .PP Data class containing a single QwtArray object. .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherits \fBQwtData\fP. .SS "Public Member Functions" .in +1c .ti -1c .RI "virtual QwtDoubleRect \fBboundingRect\fP () const " .br .ti -1c .RI "virtual \fBQwtData\fP * \fBcopy\fP () const " .br .ti -1c .RI "const QPolygonF & \fBdata\fP () const " .br .ti -1c .RI "\fBQwtPolygonFData\fP & \fBoperator=\fP (const \fBQwtPolygonFData\fP &)" .br .ti -1c .RI "\fBQwtPolygonFData\fP (const QPolygonF &)" .br .ti -1c .RI "virtual size_t \fBsize\fP () const " .br .ti -1c .RI "virtual double \fBx\fP (size_t i) const " .br .ti -1c .RI "virtual double \fBy\fP (size_t i) const " .br .in -1c .SH "Detailed Description" .PP Data class containing a single QwtArray object. .SH "Constructor & Destructor Documentation" .PP .SS "QwtPolygonFData::QwtPolygonFData (const QPolygonF &polygon)"Constructor .PP \fBParameters:\fP .RS 4 \fIpolygon\fP Polygon data .RE .PP \fBSee also:\fP .RS 4 \fBQwtPlotCurve::setData()\fP .RE .PP .SH "Member Function Documentation" .PP .SS "QwtDoubleRect QwtData::boundingRect () const\fC [virtual, inherited]\fP"Returns the bounding rectangle of the data. If there is no bounding rect, like for empty data the rectangle is invalid: QwtDoubleRect::isValid() == false .PP \fBWarning:\fP .RS 4 This is an slow implementation iterating over all points. It is intended to be overloaded by derived classes. In case of auto scaling \fBboundingRect()\fP is called for every replot, so it might be worth to implement a cache, or use x(0), x(\fBsize()\fP - 1) for ordered data ... .RE .PP .PP Reimplemented in \fBQwtArrayData\fP, and \fBQwtCPointerData\fP. .SS "\fBQwtData\fP * QwtPolygonFData::copy () const\fC [virtual]\fP"\fBReturns:\fP .RS 4 Pointer to a copy (virtual copy constructor) .RE .PP .PP Implements \fBQwtData\fP. .SS "const QPolygonF & QwtPolygonFData::data () const"\fBReturns:\fP .RS 4 Point array .RE .PP .SS "\fBQwtPolygonFData\fP & QwtPolygonFData::operator= (const \fBQwtPolygonFData\fP &data)" .PP Assignment. .SS "size_t QwtPolygonFData::size () const\fC [virtual]\fP"\fBReturns:\fP .RS 4 Size of the data set .RE .PP .PP Implements \fBQwtData\fP. .SS "double QwtPolygonFData::x (size_ti) const\fC [virtual]\fP"Return the x value of data point i .PP \fBParameters:\fP .RS 4 \fIi\fP Index .RE .PP \fBReturns:\fP .RS 4 x X value of data point i .RE .PP .PP Implements \fBQwtData\fP. .SS "double QwtPolygonFData::y (size_ti) const\fC [virtual]\fP"Return the y value of data point i .PP \fBParameters:\fP .RS 4 \fIi\fP Index .RE .PP \fBReturns:\fP .RS 4 y Y value of data point i .RE .PP .PP Implements \fBQwtData\fP. .SH "Author" .PP Generated automatically by Doxygen for Qwt User's Guide from the source code.