Diameters, centers and diametrically maximal sets