You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, the centroid of a set of locations/vertices tends to move towards borders where many vertices are defined. This is due to the algorithm ("minimizes the sum of squared Euclidean distances between itself and each point in the set").
We need to calculate the correct centroid of a polygon.
Red circle indicates the centroid currently calculated by Unfolding. Green shows the correct centroid.
The text was updated successfully, but these errors were encountered:
Created some apps to interactively set locations and calculate centroid
with different algorithms. New getCentroidOfPolygon calculates it
correctly, but needs to be cleaned up and added to GeoUtils. Related to
#47
Currently, the centroid of a set of locations/vertices tends to move towards borders where many vertices are defined. This is due to the algorithm ("minimizes the sum of squared Euclidean distances between itself and each point in the set").
We need to calculate the correct centroid of a polygon.
Red circle indicates the centroid currently calculated by Unfolding. Green shows the correct centroid.
The text was updated successfully, but these errors were encountered: