17 #ifndef PARAMETRICLINE_H
18 #define PARAMETRICLINE_H
42 virtual void calcFirstDer(
float t,
Vector3D* v ) = 0;
43 virtual void calcSecDer(
float t,
Vector3D* v ) = 0;
45 virtual void calcPoint(
float t,
Point3D* ) = 0;
46 virtual void changeDirection() = 0;
48 virtual const Point3D* getControlPoint(
int number )
const = 0;
50 virtual const QVector<Point3D*>* getControlPoly()
const = 0;
51 virtual int getDegree()
const = 0;
54 virtual void remove(
int i ) = 0;
56 virtual void setControlPoly( QVector<Point3D*>* cp ) = 0;
virtual ~ParametricLine()
Destructor.
Point3D is a class to represent a three dimensional point.
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values...
int mDegree
Degree of the parametric Line.
ParametricLine * mParent
Pointer to the parent object.
ParametricLine is an Interface for parametric lines.
QVector< Point3D * > * mControlPoly
mControlPoly stores the points of the control polygon
ParametricLine()
Default constructor.