times

operator fun times(factor: Double): Point2D(source)
operator fun times(factor: Int): Point2D(source)

Multiplies the coordinates of this point by the given factor.

Return

a new point with the multiplied coordinates

Parameters

factor

the factor to multiply the coordinates by