times

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

Calculates the scalar product of this vector and a value.

Return

the resulting point

Parameters

value

to scale by