rotate#

RegionMagnet.rotate(centre_point, angle)#

Rotate Region around a point for a given angle.

Parameters:
centre_pointCoordinate

point to rotate Coordinate around.

anglefloat

Angle of rotation in degrees. Anticlockwise direction is positive.