toggle menu
doodle
0.10.3
common
switch theme
search in API
core
/
io.nacular.doodle.geometry
/
Point
/
distanceFrom
distance
From
common
open
infix
fun
distanceFrom
(
other
:
Vector2D
)
:
Double
Calculates the
euclidean distance
between two points.
Return
distance between the vectors
Parameters
other
vector to compare