Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add geometry check classes to analysis group
  • Loading branch information
m-kuhn committed Dec 22, 2018
1 parent f2d4d87 commit bdedc86
Show file tree
Hide file tree
Showing 16 changed files with 61 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/analysis/vector/geometry_checker/qgsgeometryanglecheck.h
Expand Up @@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryAngleCheck : public QgsGeometryCheck
{
public:
Expand Down
7 changes: 7 additions & 0 deletions src/analysis/vector/geometry_checker/qgsgeometrychecker.h
Expand Up @@ -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
Expand Down
3 changes: 3 additions & 0 deletions src/analysis/vector/geometry_checker/qgsgeometrydanglecheck.h
Expand Up @@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

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

#include "qgsgeometrycheck.h"

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

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryDuplicateCheckError : public QgsGeometryCheckError
{
public:
Expand Down Expand Up @@ -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:
Expand Down
Expand Up @@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometryDuplicateNodesCheck : public QgsGeometryCheck
{
public:
Expand Down
3 changes: 3 additions & 0 deletions src/analysis/vector/geometry_checker/qgsgeometryholecheck.h
Expand Up @@ -20,6 +20,9 @@

#include "qgsgeometrycheck.h"

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

#include "qgsgeometrycheck.h"

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

#include "qgsgeometrycheck.h"

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

#include "qgssinglegeometrycheck.h"

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

#include "qgsgeometrycheck.h"

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

#include "qgsgeometrycheck.h"

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

#include "qgssinglegeometrycheck.h"

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

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

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

#include "qgsgeometryareacheck.h"

/**
* \ingroup analysis
*/
class ANALYSIS_EXPORT QgsGeometrySliverPolygonCheck : public QgsGeometryAreaCheck
{
public:
Expand Down
6 changes: 6 additions & 0 deletions src/analysis/vector/geometry_checker/qgsgeometrytypecheck.h
Expand Up @@ -20,6 +20,9 @@

#include "qgssinglegeometrycheck.h"

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

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

0 comments on commit bdedc86

Please sign in to comment.