QVPolyline Class Reference
[Image features]

Polyline representation. More...

#include <qvip/qvpolyline.h>

List of all members.

Public Member Functions

 QVPolyline ()
 QVPolyline (const QVPolyline &polyline)
 QVPolyline (const QVPolylineF &polyline)
 operator QVPolylineF () const

Static Public Member Functions

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

Public Attributes

bool closed
bool direction


Detailed Description

Polyline representation.

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

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 QVPolyline::closed will store the value TRUE if the polyline is a polygon, else storing FALSE.

A QVPolyline has the property QVPolyline::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 52 of file qvpolyline.h.


The documentation for this class was generated from the following files:
Generated on Thu Jul 17 17:23:29 2008 for QVision by  doxygen 1.5.3