Geometrical measures of the smoothness of random functions