Skip to content

Commit 265df93

Browse files
committedDec 22, 2018
Even more docs
1 parent bdedc86 commit 265df93

File tree

5 files changed

+44
-1
lines changed

5 files changed

+44
-1
lines changed
 

‎src/analysis/vector/geometry_checker/qgsgeometryareacheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222

2323
class QgsSurface;
2424

25+
/**
26+
* \ingroup analysis
27+
*/
2528
class ANALYSIS_EXPORT QgsGeometryAreaCheck : public QgsGeometryCheck
2629
{
2730
public:

‎src/analysis/vector/geometry_checker/qgsgeometrycheckerutils.h

Lines changed: 29 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,17 @@ class QgsFeedback;
3636
* \note This class is a technology preview and unstable API.
3737
* \since QGIS 3.4
3838
*/
39-
4039
class ANALYSIS_EXPORT QgsGeometryCheckerUtils
4140
{
4241
public:
42+
/**
43+
* \ingroup analysis
44+
*
45+
* A layer feature combination to uniquely identify and access a feature in
46+
* a set of layers.
47+
*
48+
* \since QGIS 3.4
49+
*/
4350
class ANALYSIS_EXPORT LayerFeature
4451
{
4552
public:
@@ -94,6 +101,13 @@ class ANALYSIS_EXPORT QgsGeometryCheckerUtils
94101
bool mMapCrs;
95102
};
96103

104+
/**
105+
* \ingroup analysis
106+
*
107+
* Contains a set of layers and feature ids in those layers to pass to a geometry check.
108+
*
109+
* \since QGIS 3.4
110+
*/
97111
class ANALYSIS_EXPORT LayerFeatures
98112
{
99113
public:
@@ -110,6 +124,13 @@ class ANALYSIS_EXPORT QgsGeometryCheckerUtils
110124
const QList<QgsWkbTypes::GeometryType> &geometryTypes,
111125
const QgsGeometryCheckContext *context );
112126

127+
/**
128+
* \ingroup analysis
129+
*
130+
* An iterator over all features in a QgsGeometryCheckerUtils::LayerFeatures.
131+
*
132+
* \since QGIS 3.4
133+
*/
113134
class iterator
114135
{
115136
public:
@@ -131,7 +152,14 @@ class ANALYSIS_EXPORT QgsGeometryCheckerUtils
131152
std::unique_ptr<QgsGeometryCheckerUtils::LayerFeature> mCurrentFeature;
132153
};
133154

155+
/**
156+
* The first feature to start iterating.
157+
*/
134158
iterator begin() const;
159+
160+
/**
161+
* One after the last feature to stop iterating.
162+
*/
135163
iterator end() const;
136164

137165
#endif

‎src/analysis/vector/geometry_checker/qgsgeometrycontainedcheck.h

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,9 @@
2222
#include "qgsvectorlayer.h"
2323
#include "qgsgeometrycheckerror.h"
2424

25+
/**
26+
* \ingroup analysis
27+
*/
2528
class ANALYSIS_EXPORT QgsGeometryContainedCheckError : public QgsGeometryCheckError
2629
{
2730
public:
@@ -46,6 +49,9 @@ class ANALYSIS_EXPORT QgsGeometryContainedCheckError : public QgsGeometryCheckEr
4649
QPair<QString, QgsFeatureId> mContainingFeature;
4750
};
4851

52+
/**
53+
* \ingroup analysis
54+
*/
4955
class ANALYSIS_EXPORT QgsGeometryContainedCheck : public QgsGeometryCheck
5056
{
5157
public:

‎src/analysis/vector/geometry_checker/qgsgeometryfollowboundariescheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,9 @@
2323
class QgsSpatialIndex;
2424

2525

26+
/**
27+
* \ingroup analysis
28+
*/
2629
class ANALYSIS_EXPORT QgsGeometryFollowBoundariesCheck : public QgsGeometryCheck
2730
{
2831
public:

‎src/analysis/vector/geometry_checker/qgsgeometrysegmentlengthcheck.h

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,9 @@
2020

2121
#include "qgsgeometrycheck.h"
2222

23+
/**
24+
* \ingroup analysis
25+
*/
2326
class ANALYSIS_EXPORT QgsGeometrySegmentLengthCheck : public QgsGeometryCheck
2427
{
2528
public:

0 commit comments

Comments
 (0)
Please sign in to comment.