distTo

infix fun distTo(other: Vector2d): Double

Returns the distance between two vectors.