rotate (method)

rotate(self, angle)[source]

Rotation of the Circle of angle

Parameters
  • self (Circle) – An Circle Object

  • angle (float) – the angle of rotation [rad]

Returns

Return type

None

Raises

AngleRotationCircleError – The angle must be a float or int

exception AngleRotationCircleError[source]

Bases: Exception