rotate_shift_coordinates#

Simulation2D.rotate_shift_coordinates(angle: float, center: Sequence = (0, 0), mirrored: bool = False)[source]#

Rotate, flip or shift patterns in-plane

Parameters:
angle

In plane rotation angle in degrees

center

Center coordinate of the patterns

mirrored

Mirror across the x-axis