Not possible with Google Earth. You'd probably need to find a SHP file of the country boundaries, then use a real GIS program to find centroids.
I was wondering if anyone could help me finding a way to draw automatically a path over the international borders of a country.
The final objective is to use the coordinates of that points to find the center of mass of the country.
Thanks in advance.