File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,7 @@ class QgsCurveV2: public QgsAbstractGeometryV2
54
54
*/
55
55
virtual int numPoints() const = 0;
56
56
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).
59
58
*/
60
59
virtual void sumUpArea( double& sum ) const = 0;
61
60
Original file line number Diff line number Diff line change @@ -81,8 +81,7 @@ class CORE_EXPORT QgsCurveV2: public QgsAbstractGeometryV2
81
81
*/
82
82
virtual int numPoints () const = 0;
83
83
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).
86
85
*/
87
86
virtual void sumUpArea ( double & sum ) const = 0;
88
87
You can’t perform that action at this time.
0 commit comments