@@ -8,35 +8,35 @@ class Bezier3D : ParametricLine
8
8
/** Default constructor*/
9
9
Bezier3D();
10
10
/** Constructor, par is a pointer to the parent, controlpoly a controlpolygon*/
11
- Bezier3D( ParametricLine* par, QVector<Point3D*>* controlpoly );
11
+ Bezier3D( ParametricLine * par, QVector<Point3D*> * controlpoly );
12
12
/** Destructor*/
13
13
virtual ~Bezier3D();
14
14
/** Do not use this method, since a Bezier curve does not consist of other curves*/
15
15
virtual void add( ParametricLine *pl );
16
16
/** Calculates the first derivative and assigns it to v*/
17
- virtual void calcFirstDer( float t, Vector3D* v );
17
+ virtual void calcFirstDer( float t, Vector3D * v );
18
18
/** Calculates the second derivative and assigns it to v*/
19
- virtual void calcSecDer( float t, Vector3D* v );
19
+ virtual void calcSecDer( float t, Vector3D * v );
20
20
//virtual Point3D calcPoint(float t);
21
21
/** Calculates the point on the curve and assigns it to p*/
22
- virtual void calcPoint( float t, Point3D* p );
22
+ virtual void calcPoint( float t, Point3D * p );
23
23
/** Changes the order of control points*/
24
24
virtual void changeDirection();
25
- //virtual void draw(QPainter* p);
26
- //virtual bool intersects(ParametricLine* pal);
25
+ //virtual void draw(QPainter * p);
26
+ //virtual bool intersects(ParametricLine * pal);
27
27
/** Do not use this method, since a Bezier curve does not consist of other curves*/
28
28
virtual void remove( int i );
29
29
/** Returns a control point*/
30
- virtual const Point3D* getControlPoint( int number ) const;
30
+ virtual const Point3D * getControlPoint( int number ) const;
31
31
/** Returns a pointer to the control polygon*/
32
- virtual const QVector<Point3D*>* getControlPoly() const;
32
+ virtual const QVector<Point3D*> * getControlPoly() const;
33
33
/** Returns the degree of the curve*/
34
34
virtual int getDegree() const;
35
35
/** Returns the parent*/
36
- virtual ParametricLine* getParent() const;
36
+ virtual ParametricLine * getParent() const;
37
37
/** Sets the parent*/
38
- virtual void setParent( ParametricLine* par );
38
+ virtual void setParent( ParametricLine * par );
39
39
/** Sets the control polygon*/
40
- virtual void setControlPoly( QVector<Point3D*>* cp );
40
+ virtual void setControlPoly( QVector<Point3D*> * cp );
41
41
42
42
};
2 commit comments
3nids commentedon May 1, 2017
@m-kuhn seems the macos test is still failing on timeout
https://travis-ci.org/qgis/QGIS/jobs/227671702
m-kuhn commentedon May 1, 2017
That's expected. At least we got a message now (although it could be a bit nicer)