arcCenter2Point()

概要

を返します。 円弧は vector 法線に垂直な平面上にある 2 つの points p1 および p2 を通過する円弧の中心です。 point boolean onRight? 円弧を直接表示したときにベクトル p1p2 の右側に True 中心 point を選択し、2 つの可能な選択肢 -- を区別するために使用されます。

構文

arcCenter2Point ( p1 As Point, _
                  p2 As Point, _
                  radius As Number, _
                  normal As Vector, _
                  onRight? As Boolean ) As Point 
引数 [タイプ] 説明
p1 Point 円弧上の 2 つの points
p2 Point 円弧上の 2 つの points
radius Number 円弧の半径です
normal Vector 円弧の平面を定義します
onRight? Boolean 選択可能な 2 つの円弧を区別するために使用されます

例 1

すべての引数を定義するには、 rule を使用して
Rule centerPnt As Point
    Dim p1 As Point = point(0,-2,0)
    Dim p2 As Point = point(0,2,0)
    Dim radius As Number = 3
    Dim normal As Vector = vector(0,0,1)
    Dim onRight? As Boolean = True

    Return arcCenter2Point(p1, p2, radius, normal, onRight?)
End Rule
rule 上記の評価
Intent >centerPnt
--> Point_(2.23606797749979, 0.0, 0.0, WorldFrame())