File tree 1 file changed +31
-0
lines changed
1 file changed +31
-0
lines changed Original file line number Diff line number Diff line change @@ -85,6 +85,34 @@ class CORE_EXPORT QgsGeometryOptions
85
85
*/
86
86
void apply ( QgsGeometry &geometry ) const ;
87
87
88
+ /* *
89
+ * A list of activated geometry checks.
90
+ *
91
+ * \since QGIS 3.4
92
+ */
93
+ QStringList geometryChecks () const ;
94
+
95
+ /* *
96
+ * A list of activated geometry checks.
97
+ *
98
+ * \since QGIS 3.4
99
+ */
100
+ void setGeometryChecks ( const QStringList &geometryChecks );
101
+
102
+ /* *
103
+ * Access the configuration for the check \a checkId.
104
+ *
105
+ * \since QGIS 3.4
106
+ */
107
+ QVariantMap checkConfiguration ( const QString &checkId ) const ;
108
+
109
+ /* *
110
+ * Set the configuration for the check \a checkId.
111
+ *
112
+ * \since QGIS 3.4
113
+ */
114
+ void setCheckConfiguration ( const QString &checkId, const QVariantMap &checkConfiguration );
115
+
88
116
/* *
89
117
* Write the geometry options to the \a node.
90
118
*
@@ -116,6 +144,9 @@ class CORE_EXPORT QgsGeometryOptions
116
144
* \since QGIS 3.4
117
145
*/
118
146
double mGeometryPrecision = 0.0 ;
147
+
148
+ QStringList mGeometryChecks ;
149
+ QVariantMap mCheckConfiguration ;
119
150
};
120
151
121
152
#endif // QGSGEOMETRYOPTIONS_H
You can’t perform that action at this time.
0 commit comments