QGIS API Documentation  3.16.0-Hannover (43b64b13f3)
ParametricLine.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  ParametricLine.cpp
3  ------------------
4  copyright : (C) 2004 by Marco Hugentobler
5  email : [email protected]
6  ***************************************************************************/
7 
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #include "ParametricLine.h"
18 #include "qgslogger.h"
19 
21 {
22  Q_UNUSED( pl )
23  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
24 }
25 
27 {
28  Q_UNUSED( t )
29  Q_UNUSED( v )
30  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
31 }
32 
34 {
35  Q_UNUSED( t )
36  Q_UNUSED( v )
37  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
38 }
39 
41 {
42  Q_UNUSED( t )
43  Q_UNUSED( p )
44  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
45 }
46 
48 {
49  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
50  return nullptr;
51 }
52 
54 {
55  Q_UNUSED( i )
56  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
57 }
58 
59 void ParametricLine::setControlPoly( QVector<QgsPoint *> *cp )
60 {
61  Q_UNUSED( cp )
62  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
63 }
64 
66 {
67  Q_UNUSED( paral )
68  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
69 }
70 
72 {
73  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
74  return mDegree;
75 }
76 
77 const QgsPoint *ParametricLine::getControlPoint( int number ) const
78 {
79  Q_UNUSED( number )
80  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
81  return nullptr;
82 }
83 
84 const QVector<QgsPoint *> *ParametricLine::getControlPoly() const
85 {
86  QgsDebugMsg( QStringLiteral( "warning, derive a class from ParametricLine" ) );
87  return nullptr;
88 }
ParametricLine::mDegree
int mDegree
Degree of the parametric Line.
Definition: ParametricLine.h:39
QgsPoint
Point geometry type, with support for z-dimension and m-values.
Definition: qgspoint.h:38
ParametricLine::getParent
virtual ParametricLine * getParent() const =0
Definition: ParametricLine.cpp:47
QgsDebugMsg
#define QgsDebugMsg(str)
Definition: qgslogger.h:38
ParametricLine::remove
virtual void remove(int i)=0
Definition: ParametricLine.cpp:53
ParametricLine::calcFirstDer
virtual void calcFirstDer(float t, Vector3D *v)=0
Definition: ParametricLine.cpp:26
ParametricLine::getControlPoly
virtual const QVector< QgsPoint * > * getControlPoly() const =0
Definition: ParametricLine.cpp:84
ParametricLine.h
ParametricLine::add
virtual void add(ParametricLine *pl)=0
Definition: ParametricLine.cpp:20
ParametricLine::getDegree
virtual int getDegree() const =0
Definition: ParametricLine.cpp:71
ParametricLine::calcSecDer
virtual void calcSecDer(float t, Vector3D *v)=0
Definition: ParametricLine.cpp:33
ParametricLine::setControlPoly
virtual void setControlPoly(QVector< QgsPoint * > *cp)=0
Definition: ParametricLine.cpp:59
ParametricLine::setParent
virtual void setParent(ParametricLine *paral)=0
Definition: ParametricLine.cpp:65
qgslogger.h
Vector3D
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values.
Definition: Vector3D.h:34
ParametricLine::getControlPoint
virtual const QgsPoint * getControlPoint(int number) const =0
Definition: ParametricLine.cpp:77
ParametricLine::calcPoint
virtual void calcPoint(float t, QgsPoint *p)=0
Definition: ParametricLine.cpp:40
ParametricLine
ParametricLine is an Interface for parametric lines.
Definition: ParametricLine.h:36