Skip to content

Commit ade01f5

Browse files
authored
fix missing /Out/ annotations for some geometry classes (#7234)
* fix missing /Out/ annotations for some geometry classes * one more missing SIP annotation
1 parent 2895819 commit ade01f5

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

python/core/geometry/qgscurvepolygonv2.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ class QgsCurvePolygonV2: public QgsSurfaceV2
7070
virtual QList< QList< QList< QgsPointV2 > > > coordinateSequence() const;
7171
virtual int nCoordinates() const;
7272
double closestSegment( const QgsPointV2& pt, QgsPointV2& segmentPt, QgsVertexId& vertexAfter, bool* leftOf, double epsilon ) const;
73-
bool nextVertex( QgsVertexId& id, QgsPointV2& vertex ) const;
73+
bool nextVertex( QgsVertexId& id, QgsPointV2& vertex /Out/ ) const;
7474

7575
bool hasCurvedSegments() const;
7676
/** Returns a geometry without curves. Caller takes ownership

python/core/geometry/qgscurvev2.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ class QgsCurveV2: public QgsAbstractGeometryV2
5959
virtual void sumUpArea( double& sum ) const = 0;
6060

6161
virtual QList< QList< QList< QgsPointV2 > > > coordinateSequence() const;
62-
virtual bool nextVertex( QgsVertexId& id, QgsPointV2& vertex ) const;
62+
virtual bool nextVertex( QgsVertexId& id, QgsPointV2& vertex /Out/ ) const;
6363

6464
/** Returns the point and vertex id of a point within the curve.
6565
* @param node node number, where the first node is 0

python/core/geometry/qgsgeometry.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ class QgsGeometry
717717
* @note added in QGIS 2.10
718718
* @see vertexNrFromVertexId
719719
*/
720-
bool vertexIdFromVertexNr( int nr, QgsVertexId& id ) const;
720+
bool vertexIdFromVertexNr( int nr, QgsVertexId& id /Out/ ) const;
721721

722722
/** Returns the vertex number corresponding to a vertex idd
723723
* @param i vertex id

python/core/geometry/qgsgeometrycollectionv2.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ class QgsGeometryCollectionV2: public QgsAbstractGeometryV2
6969
virtual QList< QList< QList< QgsPointV2 > > > coordinateSequence() const;
7070
virtual int nCoordinates() const;
7171
virtual double closestSegment( const QgsPointV2& pt, QgsPointV2& segmentPt, QgsVertexId& vertexAfter, bool* leftOf, double epsilon ) const;
72-
bool nextVertex( QgsVertexId& id, QgsPointV2& vertex ) const;
72+
bool nextVertex( QgsVertexId& id, QgsPointV2& vertex /Out/ ) const;
7373

7474
//low-level editing
7575
virtual bool insertVertex( QgsVertexId position, const QgsPointV2& vertex );

python/core/geometry/qgspointv2.sip

+1-1
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ class QgsPointV2: public QgsAbstractGeometryV2
166166
virtual bool deleteVertex( QgsVertexId position );
167167

168168
double closestSegment( const QgsPointV2& pt, QgsPointV2& segmentPt, QgsVertexId& vertexAfter, bool* leftOf, double epsilon ) const;
169-
bool nextVertex( QgsVertexId& id, QgsPointV2& vertex ) const;
169+
bool nextVertex( QgsVertexId& id, QgsPointV2& vertex /Out/ ) const;
170170

171171
/** Angle undefined. Always returns 0.0
172172
@param vertex the vertex id

0 commit comments

Comments
 (0)