kld-affine icon indicating copy to clipboard operation
kld-affine copied to clipboard

Distance From Vector2D

Open amcdnl opened this issue 3 years ago • 3 comments

The Point2D has a distanceFrom function - it would be useful if the Vector2D has a similar function.

Example: I have a SVG rect and a mouse event and I want to know the distance from any point in the rect.

amcdnl avatar Feb 03 '21 16:02 amcdnl