![]() |
University of Murcia, Spain ![]() |
QVPolylineF Class ReferenceFloating point polyline representation.
More...
|
Public Member Functions | |
QVPolylineF () | |
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 |
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.