Removes all vectors which are located on a line segment spanned by the previous and following one.
list of vertices that are evaluated in an enclosing way