div

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

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

Return

the resulting point

Parameters

value

to scale by