From c176e3f41e767ab85f485b4fc8b6850f77f430d1 Mon Sep 17 00:00:00 2001 From: Nyall Dawson Date: Fri, 11 Dec 2015 19:30:15 +1100 Subject: [PATCH] Fix documentation test failure --- python/core/geometry/qgsabstractgeometryv2.sip | 5 +++++ src/core/geometry/qgsabstractgeometryv2.h | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/python/core/geometry/qgsabstractgeometryv2.sip b/python/core/geometry/qgsabstractgeometryv2.sip index b1a27849d85..394c8d21179 100644 --- a/python/core/geometry/qgsabstractgeometryv2.sip +++ b/python/core/geometry/qgsabstractgeometryv2.sip @@ -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. diff --git a/src/core/geometry/qgsabstractgeometryv2.h b/src/core/geometry/qgsabstractgeometryv2.h index fa709721072..4cf540e1b16 100644 --- a/src/core/geometry/qgsabstractgeometryv2.h +++ b/src/core/geometry/qgsabstractgeometryv2.h @@ -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.