rotate

open fun rotate(cartesianVec: Vector2d, rot: Measure<Angle>): Vector2d

Rotate a Cartesian vector.

Return

the rotated Cartesian pose

Parameters

cartesianVec

the vector to rotate, must be in a Cartesian vector

rot

the angle to rotate these points around by