pylabrobot.tilting.tilter.Tilter.experimental_rotate_coordinate_around_hinge

pylabrobot.tilting.tilter.Tilter.experimental_rotate_coordinate_around_hinge#

Tilter.experimental_rotate_coordinate_around_hinge(absolute_coordinate: Coordinate, angle: float) Coordinate#

Rotate an absolute coordinate around the hinge of the tilter by a given angle.

Parameters:
  • absolute_coordinate (Coordinate) – The coordinate to rotate.

  • angle (float) – The angle to rotate by, in degrees. Negative is clockwise.

Returns:

Coordinate – The new coordinate after rotation.

Return type:

Coordinate