更新时间:2022-10-17 21:57:13
Google是你的朋友 [ ^ ]。
顺便说一下,两点之间的距离,你知道吗,是:sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1))
i need to draw a line between two ponits in an image by mouse click between two points..Then i want to calculate the distance between two points. how is it possible.. if anyone has any idea pls help me...
Aswathi Narayan
Google is your friend[^].
By the way, distance between two points, you know, is:sqrt((x2-x1)*(x2-x1)+(y2-y1)*(y2-y1))