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 );
141 void checkConfigurationChanged();
148 void geometryChecksChanged();
155 void removeDuplicateNodesChanged();
164 void geometryPrecisionChanged();
173 bool mRemoveDuplicateNodes =
false;
182 double mGeometryPrecision = 0.0;
184 QStringList mGeometryChecks;
185 QVariantMap mCheckConfiguration;
188 #endif // QGSGEOMETRYOPTIONS_H The QgsGeometryOptions class contains options to automatically adjust geometries to constraints on a ...
A geometry is the spatial representation of a feature.