Poster of Linux kernelThe best gift for a Linux geek
QwtPolygonFData

QwtPolygonFData

Section: C Library Functions (3) Updated: 22 Mar 2009
Local index Up
 

NAME

QwtPolygonFData - Data class containing a single QwtArray<QwtDoublePoint> object.

 

SYNOPSIS


#include <qwt_data.h>

Inherits QwtData.

 

Public Member Functions


QwtPolygonFData (const QPolygonF &)

QwtPolygonFData & operator= (const QwtPolygonFData &)

virtual QwtData * copy () const

virtual size_t size () const

virtual double x (size_t i) const

virtual double y (size_t i) const

const QPolygonF & data () const
 

Detailed Description

Data class containing a single QwtArray<QwtDoublePoint> object.  

Constructor & Destructor Documentation

 

QwtPolygonFData::QwtPolygonFData (const QPolygonF & polygon)

Constructor

Parameters:

polygon Polygon data

See also:

QwtPlotCurve::setData()

 

Member Function Documentation

 

QwtData * QwtPolygonFData::copy () const [virtual]

Returns:

Pointer to a copy (virtual copy constructor)

Implements QwtData.  

const QPolygonF & QwtPolygonFData::data () const

Returns:

Point array

 

QwtPolygonFData & QwtPolygonFData::operator= (const QwtPolygonFData & data)

Assignment.

 

size_t QwtPolygonFData::size () const [virtual]

Returns:

Size of the data set

Implements QwtData.  

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

Return the x value of data point i

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

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.


 

Index

NAME
SYNOPSIS
Public Member Functions
Detailed Description
Constructor & Destructor Documentation
QwtPolygonFData::QwtPolygonFData (const QPolygonF & polygon)
Member Function Documentation
QwtData * QwtPolygonFData::copy () const [virtual]
const QPolygonF & QwtPolygonFData::data () const
QwtPolygonFData & QwtPolygonFData::operator= (const QwtPolygonFData & data)
size_t QwtPolygonFData::size () const [virtual]
double QwtPolygonFData::x (size_t i) const [virtual]
double QwtPolygonFData::y (size_t i) const [virtual]
Author

This document was created by man2html, using the manual pages.
Time: 21:53:53 GMT, April 16, 2011