centroid
The area centroid — the balance point of the enclosed region — as a finite FlatPoint.
Shoelace-weighted; when signedArea rounds to zero (a self-cancelling loop) it falls back to the vertex mean, so a well-defined point always comes back.
The area centroid — the balance point of the enclosed region — as a finite FlatPoint.
Shoelace-weighted; when signedArea rounds to zero (a self-cancelling loop) it falls back to the vertex mean, so a well-defined point always comes back.