First time here? Check out the FAQ!
answered 2013-04-05 01:13:20 -0600
for a straight line, the euklidean distance is:
sqrt( (p1.x-p2.x)*(p1.x-p2.x) + (p1.y-p2.y)*(p1.y-p2.y) );