52 virtual void remove(
int i );
92 QgsDebugMsg(
"Error!!!!! A Bezier-curve can not be parent of a ParametricLine." );
98 QgsDebugMsg(
"Error!!!!! A Bezier-curve has no children to remove." );
virtual void setParent(ParametricLine *paral)=0
virtual void setControlPoly(QVector< Point3D * > *cp)=0
Class Bezier3D represents a bezier curve, represented by control points.
virtual ParametricLine * getParent() const
Returns the parent.
virtual void remove(int i)
Do not use this method, since a Bezier curve does not consist of other curves.
virtual void add(ParametricLine *pl)
Do not use this method, since a Bezier curve does not consist of other curves.
virtual const Point3D * getControlPoint(int number) const
Returns a control point.
virtual void calcPoint(float t, Point3D *)=0
virtual void setControlPoly(QVector< Point3D * > *cp)
Sets the control polygon.
virtual int getDegree() const
Returns the degree of the curve.
Point3D is a class to represent a three dimensional point.
virtual ParametricLine * getParent() const =0
virtual void add(ParametricLine *pl)=0
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values...
virtual void changeDirection()=0
int mDegree
Degree of the parametric Line.
ParametricLine * mParent
Pointer to the parent object.
virtual const QVector< Point3D * > * getControlPoly() const
Returns a pointer to the control polygon.
virtual const Point3D * getControlPoint(int number) const =0
ParametricLine is an Interface for parametric lines.
QVector< Point3D * > * mControlPoly
mControlPoly stores the points of the control polygon
virtual ~Bezier3D()
Destructor.
Bezier3D()
Default constructor.
virtual const QVector< Point3D * > * getControlPoly() const =0
virtual void calcSecDer(float t, Vector3D *v)=0
virtual int getDegree() const =0
virtual void calcFirstDer(float t, Vector3D *v)=0
virtual void setParent(ParametricLine *par)
Sets the parent.