transformedBy

abstract fun transformedBy(displacement: Vector2F, rotation: AngleF): Transformable

Returns a copy of this object that is moved by a displacement and rotated by a rotation.


abstract fun transformedBy(displacement: Vector2F, rotation: ComplexF): Transformable

Returns a copy of this object that is moved by a displacement and rotated by a rotation.

Parameters

rotation

the value is expected to be normalized.


abstract fun transformedBy(displacement: Vector2F, rotation: AngleF, scaleFactor: Float): Transformable

Returns a copy of this object that is moved by a displacement, rotated by a rotation, and scaled by a scaleFactor.


abstract fun transformedBy(displacement: Vector2F, rotation: ComplexF, scaleFactor: Float): Transformable

Returns a copy of this object that is moved by a displacement, rotated by a rotation, and scaled by a scaleFactor.

Parameters

rotation

the value is expected to be normalized.