times

operator fun <U : Unit<U>> times(v: Vector2d<U>): Vector2d<U>(source)

Rotates a vector by this rotation.

Applies the rotation transformation \(R(\theta) \cdot \mathbf{v}\).

Return

the rotated vector

Parameters

v

the vector to rotate


Rotates a pose velocity by this rotation.

The linear velocity is rotated, while angular velocity remains unchanged.

Return

the rotated pose velocity

Parameters

pv

the pose velocity to rotate


operator fun times(r: Rotation2d): Rotation2d(source)

Composes two rotations.

Multiplies this rotation with another rotation using complex multiplication. The resulting angle is the sum of the two angles.

Return

the composed rotation

Parameters

r

the rotation to compose with