toVector

open fun toVector(vector: Vector2d): Vector2d

Return

the Robot vector representation of the Cartesian vector

Parameters

vector

the Cartesian vector to convert to Robot form


open fun toVector(x: Double, y: Double): Vector2d

Return

the Robot vector representation of the Cartesian vector

Parameters

x

the Cartesian x coordinate

y

the Cartesian y coordinate