doodle
Toggle table of contents
0.12.0
common
Target filter
common
Switch theme
Search in API
Skip to content
doodle
Core
/
io.nacular.doodle.geometry
/
Point
/
distanceFrom
distance
From
open
infix
fun
distanceFrom
(
other
:
Vector2D
)
:
Double
(
source
)
Calculates the
euclidean distance
between two points.
Return
distance between the vectors
Parameters
other
vector to compare