QGIS API Documentation
4.3.0-Master (16eddb2670e)
Toggle main menu visibility
Loading...
Searching...
No Matches
src
analysis
interpolation
qgstriangulation.cpp
Go to the documentation of this file.
1
/***************************************************************************
2
Triangulation.cpp
3
-----------------
4
begin : September 2009
5
copyright : (C) 2009 by Marco Hugentobler
6
email : marco dot hugentobler at sourcepole dot ch
7
***************************************************************************
8
* *
9
* This program is free software; you can redistribute it and/or modify *
10
* it under the terms of the GNU General Public License as published by *
11
* the Free Software Foundation; either version 2 of the License, or *
12
* (at your option) any later version. *
13
* *
14
***************************************************************************/
15
#include "
qgstriangulation.h
"
16
17
#include "
qgsfields.h
"
18
19
#include <QString>
20
21
using namespace
Qt::StringLiterals;
22
23
QgsFields
QgsTriangulation::triangulationFields
()
24
{
25
QgsFields
fields;
26
fields.
append
(
QgsField
( u
"type"
_s, QMetaType::Type::QString, u
"String"
_s ) );
27
return
fields;
28
}
QgsField
Encapsulate a field in an attribute table or data source.
Definition
qgsfield.h:56
QgsFields
Container of fields for a vector layer.
Definition
qgsfields.h:45
QgsFields::append
bool append(const QgsField &field, Qgis::FieldOrigin origin=Qgis::FieldOrigin::Provider, int originIndex=-1)
Appends a field.
Definition
qgsfields.cpp:75
QgsTriangulation::triangulationFields
static QgsFields triangulationFields()
Returns the fields output by features when calling saveTriangulation().
Definition
qgstriangulation.cpp:23
qgsfields.h
qgstriangulation.h
Generated on
for QGIS API Documentation by
1.17.0