Skip to content

Commit 537ef07

Browse files
committedJun 21, 2017
sipify analysis vector
1 parent 009e47e commit 537ef07

File tree

7 files changed

+269
-128
lines changed

7 files changed

+269
-128
lines changed
 
Lines changed: 118 additions & 79 deletions
Original file line numberDiff line numberDiff line change
@@ -1,104 +1,143 @@
1-
/** \ingroup analysis
2-
* The Qgis class provides vector geometry analysis functions
3-
*/
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/analysis/vector/qgsgeometryanalyzer.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+
************************************************************************/
8+
9+
10+
11+
12+
413

514
class QgsGeometryAnalyzer
615
{
7-
%TypeHeaderCode
8-
#include <qgsgeometryanalyzer.h>
16+
%Docstring
17+
The QGis class provides vector geometry analysis functions
918
%End
1019

20+
%TypeHeaderCode
21+
#include "qgsgeometryanalyzer.h"
22+
%End
1123
public:
1224

13-
/** Simplify vector layer using (a modified) Douglas-Peucker algorithm
14-
* and write it to a new shape file
15-
* @param layer input vector layer
16-
* @param shapefileName path to the output shp
17-
* @param tolerance (level of simplification)
18-
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
19-
* @param p progress dialog (or 0 if no progress dialog is to be shown)
20-
*/
21-
bool simplify( QgsVectorLayer* layer, const QString& shapefileName, double tolerance,
25+
bool simplify( QgsVectorLayer *layer, const QString &shapefileName, double tolerance,
2226
bool onlySelectedFeatures = false, QProgressDialog *p = 0 );
27+
%Docstring
28+
Simplify vector layer using (a modified) Douglas-Peucker algorithm
29+
and write it to a new shape file
30+
\param layer input vector layer
31+
\param shapefileName path to the output shp
32+
\param tolerance (level of simplification)
33+
\param onlySelectedFeatures if true, only selected features are considered, else all the features
34+
\param p progress dialog (or 0 if no progress dialog is to be shown)
35+
:rtype: bool
36+
%End
2337

24-
/** Calculate the true centroids, or 'center of mass' for a vector layer and
25-
* write it to a new shape file
26-
* @param layer input vector layer
27-
* @param shapefileName path to the output shp
28-
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
29-
* @param p progress dialog (or 0 if no progress dialog is to be shown)
30-
*/
31-
bool centroids( QgsVectorLayer* layer, const QString& shapefileName,
38+
bool centroids( QgsVectorLayer *layer, const QString &shapefileName,
3239
bool onlySelectedFeatures = false, QProgressDialog *p = 0 );
40+
%Docstring
41+
Calculate the true centroids, or 'center of mass' for a vector layer and
42+
write it to a new shape file
43+
\param layer input vector layer
44+
\param shapefileName path to the output shp
45+
\param onlySelectedFeatures if true, only selected features are considered, else all the features
46+
\param p progress dialog (or 0 if no progress dialog is to be shown)
47+
:rtype: bool
48+
%End
3349

34-
/** Create a polygon based on the extent of all (selected) features and write it to a new shape file
35-
* @param layer input vector layer
36-
* @param shapefileName path to the output shp
37-
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
38-
* @param p progress dialog (or 0 if no progress dialog is to be shown)
39-
*/
4050
bool extent( QgsVectorLayer *layer, const QString &shapefileName, bool onlySelectedFeatures = false, QProgressDialog *p = 0 );
51+
%Docstring
52+
Create a polygon based on the extent of all (selected) features and write it to a new shape file
53+
\param layer input vector layer
54+
\param shapefileName path to the output shp
55+
\param onlySelectedFeatures if true, only selected features are considered, else all the features
56+
\param p progress dialog (or 0 if no progress dialog is to be shown)
57+
:rtype: bool
58+
%End
4159

42-
/** Create buffers for a vector layer and write it to a new shape file
43-
* @param layer input vector layer
44-
* @param shapefileName path to the output shp
45-
* @param bufferDistance distance for buffering (if no buffer field is specified)
46-
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
47-
* @param dissolve if true, merge all the buffers to a big multipolygon
48-
* @param bufferDistanceField index of the attribute field that contains the buffer distance (or -1 if all features have the same buffer distance)
49-
* @param p progress dialog (or 0 if no progress dialog is to be shown)
50-
*/
51-
bool buffer( QgsVectorLayer* layer, const QString& shapefileName, double bufferDistance,
60+
bool buffer( QgsVectorLayer *layer, const QString &shapefileName, double bufferDistance,
5261
bool onlySelectedFeatures = false, bool dissolve = false, int bufferDistanceField = -1, QProgressDialog *p = 0 );
62+
%Docstring
63+
Create buffers for a vector layer and write it to a new shape file
64+
\param layer input vector layer
65+
\param shapefileName path to the output shp
66+
\param bufferDistance distance for buffering (if no buffer field is specified)
67+
\param onlySelectedFeatures if true, only selected features are considered, else all the features
68+
\param dissolve if true, merge all the buffers to a big multipolygon
69+
\param bufferDistanceField index of the attribute field that contains the buffer distance (or -1 if all features have the same buffer distance)
70+
\param p progress dialog (or 0 if no progress dialog is to be shown)
71+
:rtype: bool
72+
%End
5373

54-
/** Create convex hull(s) of a vector layer and write it to a new shape file
55-
* @param layer input vector layer
56-
* @param shapefileName path to the output shp
57-
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
58-
* @param uniqueIdField index of the attribute field that contains the unique convex hull id (or -1 if
59-
* all features have the same buffer distance)
60-
* @param p progress dialog (or 0 if no progress dialog is to be shown)
61-
*/
62-
bool convexHull( QgsVectorLayer* layer, const QString& shapefileName, bool onlySelectedFeatures = false,
74+
bool convexHull( QgsVectorLayer *layer, const QString &shapefileName, bool onlySelectedFeatures = false,
6375
int uniqueIdField = -1, QProgressDialog *p = 0 );
76+
%Docstring
77+
Create convex hull(s) of a vector layer and write it to a new shape file
78+
\param layer input vector layer
79+
\param shapefileName path to the output shp
80+
\param onlySelectedFeatures if true, only selected features are considered, else all the features
81+
\param uniqueIdField index of the attribute field that contains the unique convex hull id (or -1 if
82+
all features have the same buffer distance)
83+
\param p progress dialog (or 0 if no progress dialog is to be shown)
84+
:rtype: bool
85+
%End
6486

65-
/** Dissolve a vector layer and write it to a new shape file
66-
* @param layer input vector layer
67-
* @param shapefileName path to the output shp
68-
* @param onlySelectedFeatures if true, only selected features are considered, else all the features
69-
* @param uniqueIdField index of the attribute field that contains the unique id to dissolve on (or -1 if
70-
* all features should be dissolved together)
71-
* @param p progress dialog (or 0 if no progress dialog is to be shown)
72-
*/
73-
bool dissolve( QgsVectorLayer* layer, const QString& shapefileName, bool onlySelectedFeatures = false,
87+
bool dissolve( QgsVectorLayer *layer, const QString &shapefileName, bool onlySelectedFeatures = false,
7488
int uniqueIdField = -1, QProgressDialog *p = 0 );
89+
%Docstring
90+
Dissolve a vector layer and write it to a new shape file
91+
\param layer input vector layer
92+
\param shapefileName path to the output shp
93+
\param onlySelectedFeatures if true, only selected features are considered, else all the features
94+
\param uniqueIdField index of the attribute field that contains the unique id to dissolve on (or -1 if
95+
all features should be dissolved together)
96+
\param p progress dialog (or 0 if no progress dialog is to be shown)
97+
:rtype: bool
98+
%End
7599

76-
/** Creates an event layer (multipoint or multiline) by locating features from a (non-spatial) event table along the features of a line layer.
77-
* Note that currently (until QgsGeometry supports m-values) the z-coordinate of the line layer is used for linear referencing
78-
* @param lineLayer layer with the line geometry
79-
* @param eventLayer layer with features and location field
80-
* @param lineField join index in line layer
81-
* @param eventField join index in event layer
82-
* @param outputLayer name of output file (can be empty if a memory layer is used)
83-
* @param outputFormat name of output format (can be empty if a memory provider is used to store the results)
84-
* @param unlocatedFeatureIds out: ids of event features where linear referencing was not successful
85-
* @param locationField1 attribute index of location field in event layer
86-
* @param locationField2 attribute index of location end field (or -1 for point layer)
87-
* @param offsetField attribute index for offset field. Negative offset value = offset to left side, positive value = offset to right side
88-
* @param offsetScale factor to scale offset
89-
* @param forceSingleGeometry force layer to single point/line type. Feature attributes are copied in case of multiple matches
90-
* @param memoryProvider memory provider to write output to (can be 0 if output is written to a file)
91-
* @param p progress dialog or 0 if no progress dialog should be shown
92-
*/
93-
bool eventLayer( QgsVectorLayer* lineLayer, QgsVectorLayer* eventLayer, int lineField, int eventField, QSet<qint64> &unlocatedFeatureIds /Out/, const QString& outputLayer,
94-
const QString& outputFormat, int locationField1, int locationField2 = -1, int offsetField = -1, double offsetScale = 1.0,
100+
bool eventLayer( QgsVectorLayer *lineLayer, QgsVectorLayer *eventLayer, int lineField, int eventField, QgsFeatureIds &unlocatedFeatureIds /Out/, const QString &outputLayer,
101+
const QString &outputFormat, int locationField1, int locationField2 = -1, int offsetField = -1, double offsetScale = 1.0,
95102
bool forceSingleGeometry = false, QgsVectorDataProvider *memoryProvider = 0, QProgressDialog *p = 0 );
103+
%Docstring
104+
Creates an event layer (multipoint or multiline) by locating features from a (non-spatial) event table along the features of a line layer.
105+
Note that currently (until QgsGeometry supports m-values) the z-coordinate of the line layer is used for linear referencing
106+
\param lineLayer layer with the line geometry
107+
\param eventLayer layer with features and location field
108+
\param lineField join index in line layer
109+
\param eventField join index in event layer
110+
\param outputLayer name of output file (can be empty if a memory layer is used)
111+
\param outputFormat name of output format (can be empty if a memory provider is used to store the results)
112+
\param unlocatedFeatureIds out: ids of event features where linear referencing was not successful
113+
\param locationField1 attribute index of location field in event layer
114+
\param locationField2 attribute index of location end field (or -1 for point layer)
115+
\param offsetField attribute index for offset field. Negative offset value = offset to left side, positive value = offset to right side
116+
\param offsetScale factor to scale offset
117+
\param forceSingleGeometry force layer to single point/line type. Feature attributes are copied in case of multiple matches
118+
\param memoryProvider memory provider to write output to (can be 0 if output is written to a file)
119+
\param p progress dialog or 0 if no progress dialog should be shown
120+
:rtype: bool
121+
%End
96122

97-
/** Returns linear reference geometry as a multiline (or 0 if no match). Currently, the z-coordinates are considered to be the measures (no support for m-values in QGIS)*/
98123
QgsGeometry locateBetweenMeasures( double fromMeasure, double toMeasure, const QgsGeometry &lineGeom );
99-
/** Returns linear reference geometry. Unlike the PostGIS function, this method always returns multipoint or 0 if no match (not geometry collection).
100-
* Currently, the z-coordinates are considered to be the measures (no support for m-values in QGIS)
101-
*/
124+
%Docstring
125+
Returns linear reference geometry as a multiline (or 0 if no match). Currently, the z-coordinates are considered to be the measures (no support for m-values in QGIS)
126+
:rtype: QgsGeometry
127+
%End
128+
102129
QgsGeometry locateAlongMeasure( double measure, const QgsGeometry &lineGeom );
130+
%Docstring
131+
Returns linear reference geometry. Unlike the PostGIS function, this method always returns multipoint or 0 if no match (not geometry collection).
132+
Currently, the z-coordinates are considered to be the measures (no support for m-values in QGIS)
133+
:rtype: QgsGeometry
134+
%End
103135

104136
};
137+
/************************************************************************
138+
* This file has been generated automatically from *
139+
* *
140+
* src/analysis/vector/qgsgeometryanalyzer.h *
141+
* *
142+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
143+
************************************************************************/
Lines changed: 87 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,29 @@
1-
/**
2-
* \class QgsGeometrySnapper
3-
* \ingroup analysis
4-
* QgsGeometrySnapper allows a geometry to be snapped to the geometries within a
5-
* different reference layer. Vertices in the geometries will be modified to
6-
* match the reference layer features within a specified snap tolerance.
7-
* \note added in QGIS 3.0
8-
*/
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/analysis/vector/qgsgeometrysnapper.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+
************************************************************************/
8+
9+
10+
11+
912

1013
class QgsGeometrySnapper : QObject
1114
{
12-
%TypeHeaderCode
13-
#include <qgsgeometrysnapper.h>
15+
%Docstring
16+
QgsGeometrySnapper allows a geometry to be snapped to the geometries within a
17+
different reference layer. Vertices in the geometries will be modified to
18+
match the reference layer features within a specified snap tolerance.
19+
.. versionadded:: 3.0
1420
%End
1521

22+
%TypeHeaderCode
23+
#include "qgsgeometrysnapper.h"
24+
%End
1625
public:
1726

18-
//! Snapping modes
1927
enum SnapMode
2028
{
2129
PreferNodes,
@@ -25,42 +33,92 @@ class QgsGeometrySnapper : QObject
2533
EndPointToEndPoint,
2634
};
2735

28-
/**
29-
* Constructor for QgsGeometrySnapper. A reference layer which contains geometries to snap to must be
30-
* set. It is assumed that all geometries snapped using this object will have the
31-
* same CRS as the reference layer (ie, no reprojection is performed).
32-
*/
3336
QgsGeometrySnapper( QgsVectorLayer *referenceLayer );
37+
%Docstring
38+
Constructor for QgsGeometrySnapper. A reference layer which contains geometries to snap to must be
39+
set. It is assumed that all geometries snapped using this object will have the
40+
same CRS as the reference layer (ie, no reprojection is performed).
41+
%End
3442

35-
/**
36-
* Snaps a geometry to the reference layer and returns the result. The geometry must be in the same
37-
* CRS as the reference layer, and must have the same type as the reference layer geometry. The snap tolerance
38-
* is specified in the layer units for the reference layer.
39-
*/
4043
QgsGeometry snapGeometry( const QgsGeometry &geometry, double snapTolerance, SnapMode mode = PreferNodes ) const;
44+
%Docstring
45+
Snaps a geometry to the reference layer and returns the result. The geometry must be in the same
46+
CRS as the reference layer, and must have the same type as the reference layer geometry. The snap tolerance
47+
is specified in the layer units for the reference layer.
48+
:rtype: QgsGeometry
49+
%End
4150

42-
/**
43-
* Snaps a set of features to the reference layer and returns the result. This operation is
44-
* multithreaded for performance. The featureSnapped() signal will be emitted each time a feature
45-
* is processed. The snap tolerance is specified in the layer units for the reference layer.
46-
*/
4751
QgsFeatureList snapFeatures( const QgsFeatureList &features, double snapTolerance, SnapMode mode = PreferNodes );
52+
%Docstring
53+
Snaps a set of features to the reference layer and returns the result. This operation is
54+
multithreaded for performance. The featureSnapped() signal will be emitted each time a feature
55+
is processed. The snap tolerance is specified in the layer units for the reference layer.
56+
:rtype: QgsFeatureList
57+
%End
58+
59+
static QgsGeometry snapGeometry( const QgsGeometry &geometry, double snapTolerance, const QList<QgsGeometry> &referenceGeometries, SnapMode mode = PreferNodes );
60+
%Docstring
61+
Snaps a single geometry against a list of reference geometries.
62+
:rtype: QgsGeometry
63+
%End
4864

4965
signals:
5066

51-
//! Emitted each time a feature has been processed when calling snapFeatures()
5267
void featureSnapped();
68+
%Docstring
69+
Emitted each time a feature has been processed when calling snapFeatures()
70+
%End
5371

5472
};
5573

74+
5675
class QgsInternalGeometrySnapper
5776
{
58-
%TypeHeaderCode
59-
#include <qgsgeometrysnapper.h>
77+
%Docstring
78+
QgsInternalGeometrySnapper allows a set of geometries to be snapped to each other. It can be used to close gaps in layers.
79+
80+
To use QgsInternalGeometrySnapper, first construct the snapper using the desired snap parameters. Then,
81+
features are fed to to the snapper one-by-one by calling snapFeature(). Each feature passed by calling
82+
snapFeature() will be snapped to any features which have already been processed by the snapper.
83+
84+
After processing all desired features, the results can be fetched by calling snappedGeometries().
85+
The returned QgsGeometryMap can be passed to QgsVectorDataProvider.changeGeometryValues() to save
86+
the snapped geometries back to the source layer.
87+
88+
.. versionadded:: 3.0
6089
%End
6190

91+
%TypeHeaderCode
92+
#include "qgsgeometrysnapper.h"
93+
%End
6294
public:
95+
6396
QgsInternalGeometrySnapper( double snapTolerance, QgsGeometrySnapper::SnapMode mode = QgsGeometrySnapper::PreferNodes );
97+
%Docstring
98+
Constructor for QgsInternalGeometrySnapper. The ``snapTolerance`` and ``mode`` parameters dictate
99+
how geometries will be snapped by the snapper.
100+
%End
101+
64102
QgsGeometry snapFeature( const QgsFeature &feature );
103+
%Docstring
104+
Snaps a single feature's geometry against all feature geometries already processed by
105+
calls to snapFeature() in this object, and returns the snapped geometry.
106+
:rtype: QgsGeometry
107+
%End
108+
65109
QgsGeometryMap snappedGeometries() const;
110+
%Docstring
111+
Returns a QgsGeometryMap of all feature geometries snapped by this object.
112+
:rtype: QgsGeometryMap
113+
%End
114+
66115
};
116+
117+
118+
/************************************************************************
119+
* This file has been generated automatically from *
120+
* *
121+
* src/analysis/vector/qgsgeometrysnapper.h *
122+
* *
123+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
124+
************************************************************************/
Lines changed: 28 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,38 @@
1-
/** \ingroup analysis
2-
*/
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/analysis/vector/qgspointsample.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+
************************************************************************/
8+
9+
310

411
class QgsPointSample
512
{
13+
%Docstring
14+
Creates random points in polygons / multipolygons*
15+
%End
16+
617
%TypeHeaderCode
7-
#include <qgspointsample.h>
18+
#include "qgspointsample.h"
819
%End
920
public:
1021
QgsPointSample( QgsVectorLayer *inputLayer, const QString &outputLayer, const QString &nPointsAttribute, const QString &minDistAttribute = QString() );
1122

12-
/** Starts calculation of random points
13-
@return 0 in case of success*/
1423
int createRandomPoints( QProgressDialog *pd );
24+
%Docstring
25+
Starts calculation of random points
26+
:return: 0 in case of success*
27+
:rtype: int
28+
%End
29+
1530
};
31+
32+
/************************************************************************
33+
* This file has been generated automatically from *
34+
* *
35+
* src/analysis/vector/qgspointsample.h *
36+
* *
37+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
38+
************************************************************************/
Lines changed: 31 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,46 @@
1-
/** \ingroup analysis
2-
*
3-
*
4-
*/
1+
/************************************************************************
2+
* This file has been generated automatically from *
3+
* *
4+
* src/analysis/vector/qgstransectsample.h *
5+
* *
6+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
7+
************************************************************************/
8+
9+
510

611
class QgsTransectSample
712
{
13+
%Docstring
14+
A class for the creation of transect sample lines based on a set of strata polygons and baselines*
15+
%End
16+
817
%TypeHeaderCode
9-
#include <qgstransectsample.h>
18+
#include "qgstransectsample.h"
1019
%End
1120
public:
1221

1322
enum DistanceUnits
1423
{
1524
Meters,
16-
StrataUnits //units are the same as stratum layer
25+
StrataUnits
1726
};
1827

19-
QgsTransectSample( QgsVectorLayer* strataLayer, const QString& strataIdAttribute, const QString& minDistanceAttribute, const QString& nPointsAttribute,
20-
DistanceUnits minDistUnits, QgsVectorLayer* baselineLayer, bool shareBaseline,
21-
const QString& baselineStrataId, const QString& outputPointLayer, const QString& outputLineLayer, const QString& usedBaselineLayer,
22-
double minTransectLength = 0.0, double baselineBufferDistance = -1.0, double baselineSimplificationTolerance = -1.0 );
28+
QgsTransectSample( QgsVectorLayer *strataLayer, const QString &strataIdAttribute, const QString &minDistanceAttribute, const QString &nPointsAttribute,
29+
DistanceUnits minDistUnits, QgsVectorLayer *baselineLayer, bool shareBaseline,
30+
const QString &baselineStrataId, const QString &outputPointLayer, const QString &outputLineLayer, const QString &usedBaselineLayer, double minTransectLength = 0.0,
31+
double baselineBufferDistance = -1.0, double baselineSimplificationTolerance = -1.0 );
2332

2433
int createSample( QProgressDialog *pd );
34+
%Docstring
35+
:rtype: int
36+
%End
37+
2538
};
39+
40+
/************************************************************************
41+
* This file has been generated automatically from *
42+
* *
43+
* src/analysis/vector/qgstransectsample.h *
44+
* *
45+
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
46+
************************************************************************/

‎python/auto_sip.blacklist

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
core/conversions.sip
22
core/qgsexception.sip
3-
analysis/vector/qgsgeometryanalyzer.sip
4-
analysis/vector/qgsgeometrysnapper.sip
5-
analysis/vector/qgspointsample.sip
6-
analysis/vector/qgstransectsample.sip
73
analysis/interpolation/Bezier3D.sip
84
analysis/interpolation/CloughTocherInterpolator.sip
95
analysis/interpolation/DualEdgeTriangulation.sip

‎src/analysis/vector/qgsgeometryanalyzer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ class ANALYSIS_EXPORT QgsGeometryAnalyzer
115115
* \param memoryProvider memory provider to write output to (can be 0 if output is written to a file)
116116
* \param p progress dialog or 0 if no progress dialog should be shown
117117
*/
118-
bool eventLayer( QgsVectorLayer *lineLayer, QgsVectorLayer *eventLayer, int lineField, int eventField, QgsFeatureIds &unlocatedFeatureIds, const QString &outputLayer,
118+
bool eventLayer( QgsVectorLayer *lineLayer, QgsVectorLayer *eventLayer, int lineField, int eventField, QgsFeatureIds &unlocatedFeatureIds SIP_OUT, const QString &outputLayer,
119119
const QString &outputFormat, int locationField1, int locationField2 = -1, int offsetField = -1, double offsetScale = 1.0,
120120
bool forceSingleGeometry = false, QgsVectorDataProvider *memoryProvider = nullptr, QProgressDialog *p = nullptr );
121121

‎src/analysis/vector/qgsgeometrysnapper.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,8 @@ class ANALYSIS_EXPORT QgsInternalGeometrySnapper
159159
QgsGeometryMap mProcessedGeometries;
160160
};
161161

162+
#ifndef SIP_RUN
163+
162164
///@cond PRIVATE
163165
class QgsSnapIndex
164166
{
@@ -249,4 +251,6 @@ class QgsSnapIndex
249251

250252
///@endcond
251253

254+
#endif
255+
252256
#endif // QGS_GEOMETRY_SNAPPER_H

0 commit comments

Comments
 (0)
Please sign in to comment.