A study of the approximation of an interface with the height function method