Calculate the centroid non-self-intersecting closed polygon. See https://en.wikipedia.org/wiki/Centroid#Of_a_polygon.
The points of the polygon
The centroid of the polygon
Calculate the centroid non-self-intersecting closed polygon. See https://en.wikipedia.org/wiki/Centroid#Of_a_polygon.