Skip to content
Permalink
Browse files

Fix full circle area calculation

  • Loading branch information
mhugent committed Jun 27, 2016
1 parent 203f975 commit 3e069c3806da3c638db8f31d9dd2dc5b8178b858
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/core/geometry/qgscircularstringv2.cpp
@@ -879,7 +879,7 @@ void QgsCircularStringV2::sumUpArea( double& sum ) const
//segment is a full circle, p2 is the center point
if ( p1 == p3 )
{
double r2 = QgsGeometryUtils::sqrDistance2D( p1, p2 ) / 2.0;
double r2 = QgsGeometryUtils::sqrDistance2D( p1, p2 ) / 4.0;
sum += M_PI * r2;
continue;
}

0 comments on commit 3e069c3

Please sign in to comment.
You can’t perform that action at this time.