入力曲線パーツの一覧が含まれている平面の法線ベクトルと中心点を返します。
findProfilePlane ( curves As List ) As List
引数 | [タイプ] | 説明 |
---|---|---|
曲線 | [一覧] | このプロファイルを形成する曲線パーツの一覧です。曲線はすべて同じ平面にある必要があり、そうでない場合はエラーが発生します。 |
Child Line_1 As Line thruPoint1 = point(0,0,0) thruPoint2 = point(1,0,0) End Child Child Line_2 As Line thruPoint1 = point(1,0,0) thruPoint2 = point(1,1,0) End Child Child Line_3 As Line thruPoint1 = point(1,1,0) thruPoint2 = point(1,1,1) End Child
Intent >findProfilePlane({Line_1, Line_2}) --> {Point_(0.0, 0.0, 0.0, WorldFrame()), Vector_(0.0, 0.0, 1.0, WorldFrame())}この結果は、2 つの線分は、X、Y 平面上にプロファイルを形成していることを示します。
Intent >findProfilePlane({Line_1, Line_2, Line_3})結果: エラー
この例では 3 番目の線分が他の 2 つと同じ平面上に配置されていないため、エラーが発生します。