Skip to content

Commit

Permalink
Improve MultiPolygon centroid robustness
Browse files Browse the repository at this point in the history
Do this by allowing each polygon shell to set its own origin point,
instead of re-using the origin point from the first polygon in
the geometry.
  • Loading branch information
dbaston committed Aug 19, 2017
1 parent 8ba154d commit 1c470e5
Showing 1 changed file with 0 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,6 @@ else if (ptCount > 0){

private void setBasePoint(Coordinate basePt)
{
if (this.areaBasePt == null)
this.areaBasePt = basePt;
}

Expand Down

0 comments on commit 1c470e5

Please sign in to comment.