Rotate around Line Tool

Activate the tool, select the object to be rotated, then select the axis (line, ray or segment) and enter the value of the angle of rotation in the displayed input box.

See also Rotate command.