I\'m trying to rotate a line, using the following function:
def rotate_line(line, theta): angle_cos = numpy.cos(theta) angle_sin = numpy.sin(theta)