centroids
A centroid is the geometric center of a shape or solid. For a plane region with uniform density, the centroid is the point where the region would balance if it were made of a thin, flat sheet. In three dimensions, the centroid serves as the center of mass for a solid body with uniform density and is the point where it would balance if supported at a single point.
In two dimensions, several cases are common. For a triangle with vertices at (x1, y1), (x2, y2),
Cx = (1/(6A)) sum over i of (xi + xi+1)(xi yi+1 − xi+1 yi),
Cy = (1/(6A)) sum over i of (yi + yi+1)(xi yi+1 − xi+1 yi),
where A is the polygon’s area and indices wrap around. More generally, the centroid of any plane
In three dimensions, the centroid extends to volume: (x̄, ȳ, z̄) = (1/Volume) ∭ (x, y, z) dV. Composite
Centroids are invariant under translation and rotation and lie at symmetry centers for highly regular figures.