Android 计算点绕圆心旋转角度后新坐标

定义co 点A(x1,y1)new 圆心(x0,y0) 旋转角度angle 旋转弧度 a=Math.PI/180*angle 新坐标 newX=x0+(x1-x0)*Math.cos(a)-(y1-y0)*Math.sin(a); newY=y1+(x1-x0)*Math.sin(a)+(y1-y0)*Math.cos(a);
相关文章
相关标签/搜索