An iterative procedure for the polygonal approximation of plane curves