Skip to content
Permalink
Browse files

Change comment for QgsCurveV2::sumUpArea

  • Loading branch information
mhugent committed Jan 5, 2017
1 parent df0f97b commit 1c02dc7f9f756d6bc783d22dbc3cff29169f7d01
Showing with 2 additions and 4 deletions.
  1. +1 −2 python/core/geometry/qgscurvev2.sip
  2. +1 −2 src/core/geometry/qgscurvev2.h
@@ -52,8 +52,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;

@@ -80,8 +80,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;

0 comments on commit 1c02dc7

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