Skip to content

Commit

Permalink
Change comment for QgsCurveV2::sumUpArea
Browse files Browse the repository at this point in the history
(forward port from 1c02dc7)
  • Loading branch information
mhugent authored and nyalldawson committed Feb 4, 2017
1 parent ba7cc0f commit 449a4a8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions python/core/geometry/qgscurvev2.sip
Expand Up @@ -54,8 +54,7 @@ class QgsCurveV2: public QgsAbstractGeometryV2
*/
virtual int numPoints() const = 0;

/** Calculates the area of the curve. Derived classes should override this
* to return the correct area of the curve.
/** Sums up the area of the curve by iterating over the vertices (shoelace formula).
*/
virtual void sumUpArea( double& sum ) const = 0;

Expand Down
3 changes: 1 addition & 2 deletions src/core/geometry/qgscurvev2.h
Expand Up @@ -81,8 +81,7 @@ class CORE_EXPORT QgsCurveV2: public QgsAbstractGeometryV2
*/
virtual int numPoints() const = 0;

/** Calculates the area of the curve. Derived classes should override this
* to return the correct area of the curve.
/** Sums up the area of the curve by iterating over the vertices (shoelace formula).
*/
virtual void sumUpArea( double& sum ) const = 0;

Expand Down

0 comments on commit 449a4a8

Please sign in to comment.