18 #ifndef QGSGEOMETRYOPTIONS_H
19 #define QGSGEOMETRYOPTIONS_H
21 #include "qgis_core.h"
51 bool removeDuplicateNodes()
const;
58 void setRemoveDuplicateNodes(
bool value );
67 double geometryPrecision()
const;
76 void setGeometryPrecision(
double value );
83 bool isActive()
const;
97 QStringList geometryChecks()
const;
104 void setGeometryChecks(
const QStringList &geometryChecks );
111 QVariantMap checkConfiguration(
const QString &checkId )
const;
118 void setCheckConfiguration(
const QString &checkId,
const QVariantMap &checkConfiguration );
125 void writeXml( QDomNode &node )
const;
132 void readXml(
const QDomNode &node );
173 bool mRemoveDuplicateNodes =
false;
182 double mGeometryPrecision = 0.0;
184 QStringList mGeometryChecks;
185 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.