rotate (method)

rotate(self, angle)[source]

Rotation of the Segment of angle

Parameters:
  • self (Segment) – An Segment Object
  • angle (float) – the angle of rotation [rad]
Returns:

Return type:

None

exception AngleRotationSegmentError[source]

Bases: Exception