Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix documentation test failure
  • Loading branch information
nyalldawson committed Dec 11, 2015
1 parent 233f67b commit c176e3f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions python/core/geometry/qgsabstractgeometryv2.sip
Expand Up @@ -167,6 +167,11 @@ class QgsAbstractGeometryV2

virtual int vertexCount(int part = 0, int ring = 0) const = 0;
virtual int ringCount(int part = 0) const = 0;

/** Returns count of parts contained in the geometry.
* @see vertexCount
* @see ringCount
*/
virtual int partCount() const = 0;

/** Adds a z-dimension to the geometry, initialized to a preset value.
Expand Down
5 changes: 5 additions & 0 deletions src/core/geometry/qgsabstractgeometryv2.h
Expand Up @@ -304,6 +304,11 @@ class CORE_EXPORT QgsAbstractGeometryV2

virtual int vertexCount( int part = 0, int ring = 0 ) const = 0;
virtual int ringCount( int part = 0 ) const = 0;

/** Returns count of parts contained in the geometry.
* @see vertexCount
* @see ringCount
*/
virtual int partCount() const = 0;

/** Adds a z-dimension to the geometry, initialized to a preset value.
Expand Down

0 comments on commit c176e3f

Please sign in to comment.