http://qs321.pair.com?node_id=905242


in reply to Re^2: Check if line is straight
in thread Check if line is straight

It depends if you mean tolerance necessary for dealing floats - lidden suggested it already. But if you mean real tolerance, for instance "path is correct if the angle between two vectors is less than 1 degree", you should really compute that value.