Skip to content

Commit

Permalink
Change comment for QgsCurveV2::sumUpArea
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jan 5, 2017
1 parent df0f97b commit 1c02dc7
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 @@ -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;

Expand Down
3 changes: 1 addition & 2 deletions src/core/geometry/qgscurvev2.h
Expand Up @@ -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;

Expand Down

0 comments on commit 1c02dc7

Please sign in to comment.