We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 203f975 commit 3e069c3Copy full SHA for 3e069c3
src/core/geometry/qgscircularstringv2.cpp
@@ -879,7 +879,7 @@ void QgsCircularStringV2::sumUpArea( double& sum ) const
879
//segment is a full circle, p2 is the center point
880
if ( p1 == p3 )
881
{
882
- double r2 = QgsGeometryUtils::sqrDistance2D( p1, p2 ) / 2.0;
+ double r2 = QgsGeometryUtils::sqrDistance2D( p1, p2 ) / 4.0;
883
sum += M_PI * r2;
884
continue;
885
}
0 commit comments