QGIS API Documentation
3.22.4-Białowieża (ce8e65e95e)
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
#include "
qgsfields.h
"
17
18
QgsFields
QgsTriangulation::triangulationFields
()
19
{
20
QgsFields
fields;
21
fields.
append
(
QgsField
( QStringLiteral(
"type"
), QVariant::String, QStringLiteral(
"String"
) ) );
22
return
fields;
23
}
QgsField
Encapsulate a field in an attribute table or data source.
Definition:
qgsfield.h:51
QgsFields
Container of fields for a vector layer.
Definition:
qgsfields.h:45
QgsFields::append
bool append(const QgsField &field, FieldOrigin origin=OriginProvider, int originIndex=-1)
Appends a field. The field must have unique name, otherwise it is rejected (returns false)
Definition:
qgsfields.cpp:59
QgsTriangulation::triangulationFields
static QgsFields triangulationFields()
Returns the fields output by features when calling saveTriangulation().
Definition:
qgstriangulation.cpp:18
qgsfields.h
qgstriangulation.h
Generated on Thu Feb 24 2022 10:41:09 for QGIS API Documentation by
1.9.1