QGIS API Documentation 3.99.0-Master (2fe06baccd8)
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
22{
23 Q_UNUSED( pl )
24 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
25}
26
28{
29 Q_UNUSED( t )
30 Q_UNUSED( v )
31 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
32}
33
35{
36 Q_UNUSED( t )
37 Q_UNUSED( v )
38 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
39}
40
42{
43 Q_UNUSED( t )
44 Q_UNUSED( p )
45 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
46}
47
49{
50 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
51 return nullptr;
52}
53
55{
56 Q_UNUSED( i )
57 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
58}
59
60void ParametricLine::setControlPoly( QVector<QgsPoint *> *cp )
61{
62 Q_UNUSED( cp )
63 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
64}
65
67{
68 Q_UNUSED( paral )
69 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
70}
71
73{
74 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
75 return mDegree;
76}
77
78const QgsPoint *ParametricLine::getControlPoint( int number ) const
79{
80 Q_UNUSED( number )
81 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
82 return nullptr;
83}
84
85const QVector<QgsPoint *> *ParametricLine::getControlPoly() const
86{
87 QgsDebugError( QStringLiteral( "warning, derive a class from ParametricLine" ) );
88 return nullptr;
89}
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:49
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:57