Rotating a line into negative coordinates

后端 未结 0 660
猫巷女王i
猫巷女王i 2021-01-18 03:02

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)
           


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题