LoginSignup
0
0

More than 5 years have passed since last update.

角度の計算

Posted at

角度の単位は2種類があります。

  1. degrees (度)
  2. radians(弧度 ラジアン)

パソコンが計算におき、得意なのはradians

360度の円=6.2832 radians
円=2π
π=3.1416 radians
1 radians=57.2958度

円で言うと
0°=2π=6.2832 radians
90°=1/2π
180°=1π=3.1416 radians
(1π(3.1416)*radian(57.2958)=180)
270°=3/2π
360°=2π

AS3でのradiansとdegressの変換
radians=degrees*Math.PI/180
(3.1416=180°*3.1416/180)
degrees=radians*180/Math.PI
(180°=3.1416*180/3.1416)

<参考>各種図形のrasians

image.png

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0