
Center of inertia's coordinates
Considering a uniform mass, the coordinates of the center of mass will be the average of the vertex's coordinates on each direction.
So in this case, we can use the simple formula :
With the center of gravity (G), located at (Xg , Yg) and (X1 , Y1) , (X2 , Y2) , (X3 , Y3) are the coordinates of the triangle's vertex