On the symmetry function of a convex set