设点P经过旋转后得到的点为P',P的坐标为(x,y),P'的坐标为(x',y')。旋转中心点P0的坐标为(x0,y0)。

根据旋转矩阵的定义,有: x' = (x - x0) * cosθ - (y - y0) * sinθ + x0 y' = (x - x0) * sinθ + (y - y0) * cosθ + y0

代入题目给定的数据,有: x' = (5 - 1) * cos60° - (6 - 2) * sin60° + 1 = 2 * 0.5 - 4 * √3 / 2 + 1 = 1 - 2√3 y' = (5 - 1) * sin60° + (6 - 2) * cos60° + 2 = 4 * √3 / 2 + 2 = 2 + 2√3

所以点P(5,6)绕点P0(1,2)旋转60°后的坐标为P'(1-2√3, 2+2√3)。

写出点 p56绕点 p012旋转60°的矩阵乘法。

原文地址: https://www.cveoy.top/t/topic/hKBH 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录