以正東面為0度起點(diǎn)計算指定角度所對應(yīng)的圓周上的點(diǎn)的坐標(biāo):
float radian = Math.toRadians(angle);
float x = center.x + Math.cos(radian)*currentAdius;
float y = center.y + Math.sin(radian)*currentAdius;
說明
angle為弧度哩俭,center.x為圓心所在的X坐標(biāo)朗伶,center.y為圓心所在Y坐標(biāo)悼嫉,currentAdius為圓的半徑