The connections between the order of smoothness of a surface and its metric