div

abstract operator override fun div(value: Int): Vector2D
abstract operator override fun div(value: Float): Vector2D
abstract operator override fun div(value: Double): Vector2D

Calculates the scalar product of this vector and the inverse of a value.

Return

the resulting point

Parameters

value

to scale by