Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
fix missing /Out/ annotations for some geometry classes (#7234)
* fix missing /Out/ annotations for some geometry classes

* one more missing SIP annotation
  • Loading branch information
3nids committed Jun 13, 2018
1 parent 2895819 commit ade01f5
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion python/core/geometry/qgscurvepolygonv2.sip
Expand Up @@ -70,7 +70,7 @@ class QgsCurvePolygonV2: public QgsSurfaceV2
virtual QList< QList< QList< QgsPointV2 > > > coordinateSequence() const;
virtual int nCoordinates() const;
double closestSegment( const QgsPointV2& pt, QgsPointV2& segmentPt, QgsVertexId& vertexAfter, bool* leftOf, double epsilon ) const;
bool nextVertex( QgsVertexId& id, QgsPointV2& vertex ) const;
bool nextVertex( QgsVertexId& id, QgsPointV2& vertex /Out/ ) const;

bool hasCurvedSegments() const;
/** Returns a geometry without curves. Caller takes ownership
Expand Down
2 changes: 1 addition & 1 deletion python/core/geometry/qgscurvev2.sip
Expand Up @@ -59,7 +59,7 @@ class QgsCurveV2: public QgsAbstractGeometryV2
virtual void sumUpArea( double& sum ) const = 0;

virtual QList< QList< QList< QgsPointV2 > > > coordinateSequence() const;
virtual bool nextVertex( QgsVertexId& id, QgsPointV2& vertex ) const;
virtual bool nextVertex( QgsVertexId& id, QgsPointV2& vertex /Out/ ) const;

/** Returns the point and vertex id of a point within the curve.
* @param node node number, where the first node is 0
Expand Down
2 changes: 1 addition & 1 deletion python/core/geometry/qgsgeometry.sip
Expand Up @@ -717,7 +717,7 @@ class QgsGeometry
* @note added in QGIS 2.10
* @see vertexNrFromVertexId
*/
bool vertexIdFromVertexNr( int nr, QgsVertexId& id ) const;
bool vertexIdFromVertexNr( int nr, QgsVertexId& id /Out/ ) const;

/** Returns the vertex number corresponding to a vertex idd
* @param i vertex id
Expand Down
2 changes: 1 addition & 1 deletion python/core/geometry/qgsgeometrycollectionv2.sip
Expand Up @@ -69,7 +69,7 @@ class QgsGeometryCollectionV2: public QgsAbstractGeometryV2
virtual QList< QList< QList< QgsPointV2 > > > coordinateSequence() const;
virtual int nCoordinates() const;
virtual double closestSegment( const QgsPointV2& pt, QgsPointV2& segmentPt, QgsVertexId& vertexAfter, bool* leftOf, double epsilon ) const;
bool nextVertex( QgsVertexId& id, QgsPointV2& vertex ) const;
bool nextVertex( QgsVertexId& id, QgsPointV2& vertex /Out/ ) const;

//low-level editing
virtual bool insertVertex( QgsVertexId position, const QgsPointV2& vertex );
Expand Down
2 changes: 1 addition & 1 deletion python/core/geometry/qgspointv2.sip
Expand Up @@ -166,7 +166,7 @@ class QgsPointV2: public QgsAbstractGeometryV2
virtual bool deleteVertex( QgsVertexId position );

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

/** Angle undefined. Always returns 0.0
@param vertex the vertex id
Expand Down

0 comments on commit ade01f5

Please sign in to comment.