circleAngle()

概要

X 軸と、円の中心と指定されたの間の線分の間の角度を度単位で返します。「circlePoint()」も参照してください。

構文

circleAngle ( cir As Part, _
              p As Point ) As Number 
引数 [タイプ] 説明
cir パーツ 円です。
p 角度を求めるです。

例 1

この例の円パーツです。
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