摘要: 某点(ab)绕点(mn)旋转θ°后得到的点为(x , y) 可用到公式 x = (a-m)*cos(θ)-(b-n)*sin(θ)+m y=(a-m)*sin(θ)+(b-n)*cos(θ)+n 我的需求只需要旋转90`: 因为: sin90` = 1,cos90` = 0 所以: x = m+n- 阅读全文
posted @ 2017-10-16 16:50 我辈年轻 阅读(832) 评论(0) 推荐(0)