PARP Research Group University of Murcia, Spain


QVPolylineF Class Reference
[Image features]

Floating point polyline representation. More...

#include <qvip/qvpolylinef.h>

List of all members.

Public Member Functions

 QVPolylineF ()
 QVPolylineF (const QList< QPointF > &pointList)
 QVPolylineF (const QVPolyline &polyline)
 QVPolylineF (const QVPolylineF &polyline)
 operator QVPolyline () const

Static Public Member Functions

static QVPolylineF ellipse (uInt n, float x, float y, float maxRadio, float minRadio, float ang)
static QVPolylineF rectangle (float x1, float y1, float x2, float y2)

Public Attributes

bool closed
bool direction


Detailed Description

Floating point polyline representation.

A polyline is a continuous line composed of one or more straight line segments. A QVPolylineF is a implementation of a polyline, specified by a list of the points located at the intersection of the segments. Thus, any QVPolylineF object inherits from the class QList<QPointF>.

When a polyline is closed, then it is considered to be a polygon. In that case it is supposed to have an implicit final straight line segment, that links the first and the last point in the polyline. The property QVPolylineF::closed will store the value TRUE if the polyline is a polygon, else storing FALSE.

A QVPolylineF has the property QVPolylineF::direction, that will indicate if it is a direct polyline, or a reverse polyline. It has only meaning for some algorithms, like getBorderContourThreshold.

Definition at line 50 of file qvpolylinef.h.


The documentation for this class was generated from the following files:



QVision framework. PARP research group, copyright 2007, 2008.