Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re^3: Check if line is straight

by pajout (Curate)
on May 17, 2011 at 11:30 UTC ( [id://905242] : note . print w/replies, xml ) Need Help??


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.