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.

Returns:
Coordinate