Vector2D

constructor(v: Pair<Double, Double>)


constructor(x: Double, y: Double)

Parameters

x

x component (abscissa) of the vector

y

y component (ordinate) of the vector