Skip to content

Commit 1c02dc7

Browse files
committed
Change comment for QgsCurveV2::sumUpArea
1 parent df0f97b commit 1c02dc7

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

python/core/geometry/qgscurvev2.sip

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,7 @@ class QgsCurveV2: public QgsAbstractGeometryV2
5252
*/
5353
virtual int numPoints() const = 0;
5454

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

src/core/geometry/qgscurvev2.h

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

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

0 commit comments

Comments
 (0)