QGIS API Documentation  3.2.0-Bonn (bc43194)
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( "warning, derive a class from ParametricLine" );
24 }
25 
27 {
28  Q_UNUSED( t );
29  Q_UNUSED( v );
30  QgsDebugMsg( "warning, derive a class from ParametricLine" );
31 }
32 
34 {
35  Q_UNUSED( t );
36  Q_UNUSED( v );
37  QgsDebugMsg( "warning, derive a class from ParametricLine" );
38 }
39 
41 {
42  Q_UNUSED( t );
43  Q_UNUSED( p );
44  QgsDebugMsg( "warning, derive a class from ParametricLine" );
45 }
46 
48 {
49  QgsDebugMsg( "warning, derive a class from ParametricLine" );
50  return nullptr;
51 }
52 
54 {
55  Q_UNUSED( i );
56  QgsDebugMsg( "warning, derive a class from ParametricLine" );
57 }
58 
59 void ParametricLine::setControlPoly( QVector<QgsPoint *> *cp )
60 {
61  Q_UNUSED( cp );
62  QgsDebugMsg( "warning, derive a class from ParametricLine" );
63 }
64 
66 {
67  Q_UNUSED( paral );
68  QgsDebugMsg( "warning, derive a class from ParametricLine" );
69 }
70 
72 {
73  QgsDebugMsg( "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( "warning, derive a class from ParametricLine" );
81  return nullptr;
82 }
83 
84 const QVector<QgsPoint *> *ParametricLine::getControlPoly() const
85 {
86  QgsDebugMsg( "warning, derive a class from ParametricLine" );
87  return nullptr;
88 }
virtual ParametricLine * getParent() const =0
virtual void remove(int i)=0
#define QgsDebugMsg(str)
Definition: qgslogger.h:38
virtual void calcFirstDer(float t, Vector3D *v)=0
virtual void calcSecDer(float t, Vector3D *v)=0
virtual void calcPoint(float t, QgsPoint *p)=0
virtual void setParent(ParametricLine *paral)=0
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values...
Definition: Vector3D.h:33
int mDegree
Degree of the parametric Line.
virtual void add(ParametricLine *pl)=0
virtual int getDegree() const =0
ParametricLine is an Interface for parametric lines.
virtual const QVector< QgsPoint * > * getControlPoly() const =0
Point geometry type, with support for z-dimension and m-values.
Definition: qgspoint.h:37
virtual const QgsPoint * getControlPoint(int number) const =0
virtual void setControlPoly(QVector< QgsPoint *> *cp)=0