Returns the distance between point 1 (x1, y1
) and point 2 (x2, y2
).
Calculate the distance between point 100, 100
and point 200, 200
. The result will be around 141.42.
let d = gmynd.distance(100, 100, 200, 200);
Returns the distance between point 1 (x1, y1
) and point 2 (x2, y2
).
Calculate the distance between point 100, 100
and point 200, 200
. The result will be around 141.42.
let d = gmynd.distance(100, 100, 200, 200);