Skip to content

Commit 17b51ab

Browse files
mhugentnyalldawson
authored andcommittedJan 9, 2017
Change comment for QgsCurveV2::sumUpArea
(forward-port from 1c02dc7)
1 parent d3da179 commit 17b51ab

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed
 

‎python/core/geometry/qgscurve.sip

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,7 @@ class QgsCurve: public QgsAbstractGeometry
5454
*/
5555
virtual int numPoints() const = 0;
5656

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

‎src/core/geometry/qgscurve.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,7 @@ class CORE_EXPORT QgsCurve: public QgsAbstractGeometry
8181
*/
8282
virtual int numPoints() const = 0;
8383

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

0 commit comments

Comments
 (0)
Please sign in to comment.