Skip to content
Permalink
Browse files

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 ade01f561f3c4d235745f9ad1494649619ea7765
@@ -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
@@ -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
@@ -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
@@ -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 );
@@ -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

0 comments on commit ade01f5

Please sign in to comment.
You can’t perform that action at this time.