18 #ifndef QGSGEOMETRYOPTIONS_H
19 #define QGSGEOMETRYOPTIONS_H
21 #include "qgis_core.h"
52 bool removeDuplicateNodes()
const;
59 void setRemoveDuplicateNodes(
bool value );
68 double geometryPrecision()
const;
77 void setGeometryPrecision(
double value );
84 bool isActive()
const;
98 QStringList geometryChecks()
const;
105 void setGeometryChecks(
const QStringList &geometryChecks );
112 QVariantMap checkConfiguration(
const QString &checkId )
const;
119 void setCheckConfiguration(
const QString &checkId,
const QVariantMap &checkConfiguration );
126 void writeXml( QDomNode &node )
const;
133 void readXml(
const QDomNode &node );
179 bool mRemoveDuplicateNodes =
false;
188 double mGeometryPrecision = 0.0;
190 QStringList mGeometryChecks;
191 QVariantMap mCheckConfiguration;
The QgsGeometryOptions class contains options to automatically adjust geometries to constraints on a ...
void removeDuplicateNodesChanged()
Automatically remove duplicate nodes on all geometries which are edited on this layer.
void geometryChecksChanged()
A list of activated geometry checks.
void checkConfigurationChanged()
Access the configuration for the check checkId.
void geometryPrecisionChanged()
The precision in which geometries on this layer should be saved.
A geometry is the spatial representation of a feature.