X 軸と、円の中心と指定された点の間の線分の間の角度を度単位で返します。「circlePoint()」も参照してください。
circleAngle ( cir As Part, _
p As Point ) As Number
| 引数 | [タイプ] | 説明 |
|---|---|---|
| cir | パーツ | 円です。 |
| p | 点 | 角度を求める点です。 |
Child Circle_1 As :Arc
center = Point(0,0,0)
diameter = 5.0
End Child
Intent >circlePoint(Circle_1, 45) --> Point_(1.76776695296637, 1.76776695296637, 0.0, WorldFrame()) Intent >circleAngle(Circle_1, Point(1.76776695296637, 1.76776695296637, 0.0) -->45.0