rotate#

Coordinate.rotate(centre_point, angle)#

Rotate Coordinate 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.