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