QGIS API Documentation 3.99.0-Master (357b655ed83)
Loading...
Searching...
No Matches
ParametricLine.cpp
Go to the documentation of this file.
1/***************************************************************************
2 ParametricLine.cpp
3 ------------------
4 copyright : (C) 2004 by Marco Hugentobler
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
19#include "qgslogger.h"
20
21#include <QString>
22
23using namespace Qt::StringLiterals;
24
26{
27 Q_UNUSED( pl )
28 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
29}
30
32{
33 Q_UNUSED( t )
34 Q_UNUSED( v )
35 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
36}
37
39{
40 Q_UNUSED( t )
41 Q_UNUSED( v )
42 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
43}
44
46{
47 Q_UNUSED( t )
48 Q_UNUSED( p )
49 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
50}
51
53{
54 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
55 return nullptr;
56}
57
59{
60 Q_UNUSED( i )
61 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
62}
63
64void ParametricLine::setControlPoly( QVector<QgsPoint *> *cp )
65{
66 Q_UNUSED( cp )
67 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
68}
69
71{
72 Q_UNUSED( paral )
73 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
74}
75
77{
78 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
79 return mDegree;
80}
81
82const QgsPoint *ParametricLine::getControlPoint( int number ) const
83{
84 Q_UNUSED( number )
85 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
86 return nullptr;
87}
88
89const QVector<QgsPoint *> *ParametricLine::getControlPoly() const
90{
91 QgsDebugError( u"warning, derive a class from ParametricLine"_s );
92 return nullptr;
93}
virtual const QVector< QgsPoint * > * getControlPoly() const =0
virtual void setParent(ParametricLine *paral)=0
virtual void remove(int i)=0
int mDegree
Degree of the parametric Line.
virtual int getDegree() const =0
virtual void calcSecDer(float t, Vector3D *v)=0
virtual void add(ParametricLine *pl)=0
virtual const QgsPoint * getControlPoint(int number) const =0
virtual void calcFirstDer(float t, Vector3D *v)=0
virtual void setControlPoly(QVector< QgsPoint * > *cp)=0
virtual ParametricLine * getParent() const =0
virtual void calcPoint(float t, QgsPoint *p)=0
ParametricLine()=default
Point geometry type, with support for z-dimension and m-values.
Definition qgspoint.h:53
Represents a 3D-Vector, capable of storing x, y and z-coordinates in double values.
Definition Vector3D.h:37
#define QgsDebugError(str)
Definition qgslogger.h:59