You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/core/geometry/qgsgeometry.h
+13-2
Original file line number
Diff line number
Diff line change
@@ -345,11 +345,21 @@ class CORE_EXPORT QgsGeometry
345
345
*/
346
346
boolisGeosEqual( const QgsGeometry & ) const;
347
347
348
+
//! Validity check flags
349
+
enum ValidityFlag
350
+
{
351
+
FlagAllowSelfTouchingHoles = 1 << 0, //!< Indicates that self-touching holes are permitted. OGC validity states that self-touching holes are NOT permitted, whilst other vendor validity checks (e.g. ESRI) permit self-touching holes.
352
+
};
353
+
Q_DECLARE_FLAGS( ValidityFlags, ValidityFlag )
354
+
348
355
/**
349
-
* Checks validity of the geometry using GEOS
356
+
* Checks validity of the geometry using GEOS.
357
+
*
358
+
* The \a flags parameter indicates optional flags which control the type of validity checking performed.
0 commit comments