Skip to content
Permalink
Browse files
Fix bindings
  • Loading branch information
mhugent committed Sep 5, 2016
1 parent 8fae816 commit cbe1b85
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
@@ -310,7 +310,7 @@ class QgsAbstractGeometryV2
E.g. QgsLineString -> QgsCompoundCurve, QgsPolygonV2 -> QgsCurvePolygon,
QgsMultiLineString -> QgsMultiCurve, QgsMultiPolygonV2 -> QgsMultiSurface
@return the converted geometry. Caller takes ownership*/
virtual QgsAbstractGeometry* toCurveType() const /Factory/;
virtual QgsAbstractGeometryV2* toCurveType() const /Factory/;

/** Returns approximate angle at a vertex. This is usually the average angle between adjacent
* segments, and can be pictured as the orientation of a line following the curvature of the
@@ -104,7 +104,7 @@ class QgsLineStringV2: public QgsCurveV2

/** Returns the geometry converted to the more generic curve type QgsCompoundCurve
@return the converted geometry. Caller takes ownership*/
QgsAbstractGeometry* toCurveType() const /Factory/;
QgsAbstractGeometryV2* toCurveType() const /Factory/;

/** Returns a QPolygonF representing the line string.
*/
@@ -22,7 +22,7 @@ class QgsMultiLineStringV2: public QgsMultiCurveV2

/** Returns the geometry converted to the more generic curve type QgsMultiCurve
@return the converted geometry. Caller takes ownership*/
QgsAbstractGeometry* toCurveType() const /Factory/;
QgsAbstractGeometryV2* toCurveType() const /Factory/;

protected:

@@ -22,7 +22,7 @@ class QgsMultiPolygonV2: public QgsMultiSurfaceV2

/** Returns the geometry converted to the more generic curve type QgsMultiSurface
@return the converted geometry. Caller takes ownership*/
QgsAbstractGeometry* toCurveType() const /Factory/;
QgsAbstractGeometryV2* toCurveType() const /Factory/;

protected:

@@ -28,7 +28,7 @@ class QgsPolygonV2: public QgsCurvePolygonV2

/** Returns the geometry converted to the more generic curve type QgsCurvePolygon
@return the converted geometry. Caller takes ownership*/
QgsAbstractGeometry* toCurveType() const /Factory/;
QgsAbstractGeometryV2* toCurveType() const /Factory/;

void addInteriorRing( QgsCurveV2* ring /Transfer/ );
//overridden to handle LineString25D rings

0 comments on commit cbe1b85

Please sign in to comment.