Skip to content
Permalink
Browse files

Add geometry check classes to analysis group

  • Loading branch information
m-kuhn committed Dec 22, 2018
1 parent f2d4d87 commit bdedc86f0b570277c1d6af0810f6407059867caa
@@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryAngleCheck : public QgsGeometryCheck
{
public:
@@ -37,6 +37,13 @@ class QgsVectorLayer;
class QgsFeaturePool;
class QMutex;

/**
* \ingroup analysis
*
* Manages and runs a set of geometry checks.
*
* \since QGIS 3.4
*/
class ANALYSIS_EXPORT QgsGeometryChecker : public QObject
{
Q_OBJECT
@@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryDangleCheck : public QgsGeometryCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryDegeneratePolygonCheck : public QgsGeometryCheck
{
public:
@@ -22,6 +22,9 @@
#include "qgsgeometrycheck.h"
#include "qgsgeometrycheckerror.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryDuplicateCheckError : public QgsGeometryCheckError
{
public:
@@ -50,6 +53,9 @@ class ANALYSIS_EXPORT QgsGeometryDuplicateCheckError : public QgsGeometryCheckEr
static QString duplicatesString( const QMap<QString, QgsFeaturePool *> &featurePools, const QMap<QString, QList<QgsFeatureId>> &duplicates );
};

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryDuplicateCheck : public QgsGeometryCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryDuplicateNodesCheck : public QgsGeometryCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryHoleCheck : public QgsGeometryCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryLineIntersectionCheck : public QgsGeometryCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryLineLayerIntersectionCheck : public QgsGeometryCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgssinglegeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryMultipartCheck : public QgsSingleGeometryCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryPointCoveredByLineCheck : public QgsGeometryCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryPointInPolygonCheck : public QgsGeometryCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgssinglegeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometrySelfContactCheck : public QgsSingleGeometryCheck
{
public:
@@ -21,6 +21,9 @@
#include "qgsgeometryutils.h"
#include "qgssinglegeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometrySelfIntersectionCheckError : public QgsSingleGeometryCheckError
{
public:
@@ -42,6 +45,9 @@ class ANALYSIS_EXPORT QgsGeometrySelfIntersectionCheckError : public QgsSingleGe
QgsGeometryUtils::SelfIntersection mIntersection;
};

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometrySelfIntersectionCheck : public QgsSingleGeometryCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgsgeometryareacheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometrySliverPolygonCheck : public QgsGeometryAreaCheck
{
public:
@@ -20,6 +20,9 @@

#include "qgssinglegeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryTypeCheckError : public QgsSingleGeometryCheckError
{
public:
@@ -40,6 +43,9 @@ class ANALYSIS_EXPORT QgsGeometryTypeCheckError : public QgsSingleGeometryCheckE
QgsWkbTypes::Type mFlatType;
};

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryTypeCheck : public QgsSingleGeometryCheck
{
public:

0 comments on commit bdedc86

Please sign in to comment.
You can’t perform that action at this time.