distance

fun distance(other: Vector2D): Double

Returns the distance between the other vector and this vector.