The intrinsic curvature of solids