How to get distance between objects in XY plane.
Hello,
Is there a quick way to find distance between two or more objects in XY plane, something like finding perimeter of a polygon.
Something like 'math.distance' in math.js.
I know there is this method var dist = Math.sqrt( Math.pow((x1-x2), 2) + Math.pow((y1-y2), 2) );I just want to know if is there any quick method for this ![]()
Cheers.