Skip to content
Permalink
Browse files

Change comment for QgsCurveV2::sumUpArea

(forward-port from 1c02dc7)
  • Loading branch information
mhugent authored and nyalldawson committed Jan 9, 2017
1 parent d3da179 commit 17b51ab28f0aa22841207819b09e7c23e76ea586
Showing with 2 additions and 4 deletions.
  1. +1 −2 python/core/geometry/qgscurve.sip
  2. +1 −2 src/core/geometry/qgscurve.h
@@ -54,8 +54,7 @@ class QgsCurve: public QgsAbstractGeometry
*/
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;

@@ -81,8 +81,7 @@ class CORE_EXPORT QgsCurve: public QgsAbstractGeometry
*/
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;

0 comments on commit 17b51ab

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