Closed humorbei closed 2 years ago
def get_3rd_point(a, b):#输出不对,不应该+b """Return vector c that perpendicular to (a - b).""" direct = a - b return b + np.array([-direct[1], direct[0]], dtype=np.float32)
输出为什么需要+b???
def get_3rd_point(a, b):#输出不对,不应该+b """Return vector c that perpendicular to (a - b).""" direct = a - b return b + np.array([-direct[1], direct[0]], dtype=np.float32)
输出为什么需要+b???