ParametricLine class

ParametricLine is an Interface for parametric lines.

It is possible, that a parametric line is composed of several parametric lines (see the composite pattern in Gamma et al. 'Design Patterns'). Do not build instances of it since it is an abstract class.

Derived classes

class Bezier3D
Class Bezier3D represents a bezier curve, represented by control points.

Constructors, destructors, conversion operators

ParametricLine() defaulted
Default constructor.
ParametricLine(ParametricLine* par, QVector<QgsPoint*>* controlpoly)
Constructor, par is a pointer to the parent object, controlpoly the controlpolygon.

Protected variables

QVector<QgsPoint*>* mControlPoly
MControlPoly stores the points of the control polygon.
int mDegree
Degree of the parametric Line.
ParametricLine* mParent
Pointer to the parent object. If there isn't one, mParent is 0.