|
15 | 15 | ***************************************************************************/ |
16 | 16 |
|
17 | 17 | #include "ParametricLine.h" |
18 | | -#include <iostream> |
19 | | - |
| 18 | +#include <qgslogger.h> |
20 | 19 |
|
21 | 20 | void ParametricLine::add( ParametricLine* pl ) |
22 | 21 | { |
23 | 22 | Q_UNUSED( pl ); |
24 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 23 | + QgsDebugMsg( "warning, derive a class from ParametricLine" ); |
25 | 24 | } |
26 | 25 |
|
27 | 26 | void ParametricLine::calcFirstDer( float t, Vector3D* v ) |
28 | 27 | { |
29 | 28 | Q_UNUSED( t ); |
30 | 29 | Q_UNUSED( v ); |
31 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 30 | + QgsDebugMsg( "warning, derive a class from ParametricLine"); |
32 | 31 | } |
33 | 32 |
|
34 | 33 | void ParametricLine::calcSecDer( float t, Vector3D* v ) |
35 | 34 | { |
36 | 35 | Q_UNUSED( t ); |
37 | 36 | Q_UNUSED( v ); |
38 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 37 | + QgsDebugMsg( "warning, derive a class from ParametricLine"); |
39 | 38 | } |
40 | 39 |
|
41 | 40 | void ParametricLine::calcPoint( float t, Point3D *p ) |
42 | 41 | { |
43 | 42 | Q_UNUSED( t ); |
44 | 43 | Q_UNUSED( p ); |
45 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 44 | + QgsDebugMsg( "warning, derive a class from ParametricLine"); |
46 | 45 | } |
47 | 46 |
|
48 | 47 | ParametricLine* ParametricLine::getParent() const |
49 | 48 | { |
50 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 49 | + QgsDebugMsg( "warning, derive a class from ParametricLine"); |
51 | 50 | return 0; |
52 | 51 | } |
53 | 52 |
|
54 | 53 | void ParametricLine::remove( int i ) |
55 | 54 | { |
56 | 55 | Q_UNUSED( i ); |
57 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 56 | + QgsDebugMsg( "warning, derive a class from ParametricLine"); |
58 | 57 | } |
59 | 58 |
|
60 | 59 | void ParametricLine::setControlPoly( QVector<Point3D*>* cp ) |
61 | 60 | { |
62 | 61 | Q_UNUSED( cp ); |
63 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 62 | + QgsDebugMsg( "warning, derive a class from ParametricLine"); |
64 | 63 | } |
65 | 64 |
|
66 | 65 | void ParametricLine::setParent( ParametricLine* paral ) |
67 | 66 | { |
68 | 67 | Q_UNUSED( paral ); |
69 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 68 | + QgsDebugMsg( "warning, derive a class from ParametricLine"); |
70 | 69 | } |
71 | 70 |
|
72 | 71 | int ParametricLine::getDegree() const |
73 | 72 | { |
74 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 73 | + QgsDebugMsg( "warning, derive a class from ParametricLine"); |
75 | 74 | return mDegree; |
76 | 75 | } |
77 | 76 |
|
78 | 77 | const Point3D* ParametricLine::getControlPoint( int number ) const |
79 | 78 | { |
80 | 79 | Q_UNUSED( number ); |
81 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 80 | + QgsDebugMsg( "warning, derive a class from ParametricLine"); |
82 | 81 | return 0; |
83 | 82 | } |
84 | 83 |
|
85 | 84 | const QVector<Point3D*>* ParametricLine::getControlPoly() const |
86 | 85 | { |
87 | | - std::cout << "warning, derive a class from ParametricLine" << std::endl; |
| 86 | + QgsDebugMsg( "warning, derive a class from ParametricLine"); |
88 | 87 | return 0; |
89 | 88 | } |
0 commit comments