Fast marching methods and level set methods for propagating interfaces