If a triangle has vertices with coordinates:
A=(xA,yA)B=(xB,yB)C=(xC,yC) then the center of mass has the following coordinates:
O=(31(xA+xB+xC),31(yA+yB+yC) See the derivation and examples here: https://www.math-only-math.com/centroid-of-a-triangle.html
Comments