compute the maximum distance of each point in the [start,end] range
to the start-end line (the cord)
TODO : we could escape the loop as soon as we have d > epsilon
optmize the vector of points by deleting unneeded points
epsilon decides on the quality of the output
epsilon is the maximum distance of the original points
to the new pointVector
Anka is an open source collaboration whiteboard released under GPL. If you want to be notified when a new release of Anka is out,
or join the developer or user group, visit Anka Mailing Lists.