を返します。 poly1 と poly2 に共通する領域を表すポリゴンの list をクリックします。
ポリゴン(Polygons) points の list によって 「 最適化 」 のように表示されます。 最初の 3 つの同一線上にない点がポリゴンの 「 平面 」 を定義し、 points の残りの部分はその面に配置されていない場合でも、すべての計算でその平面に投影されます。
polygonIntersection ( poly1 As List, _
poly2 As List ) As List
引数 | [タイプ] | 説明 |
---|---|---|
poly1 | List | 1 番目のポリゴンです。 |
poly2 | List | 2 番目のポリゴンです。 |
Intent >polygonIntersection({point(0,0,0), Point(5,0,0), Point(5,5,0), Point(0,5,0)}, {Point(1,1,0), Point(6,1,0), Point(6,4,0), Point(1,4,0)})
--> {{Point_(5.0, 4.0, 0.0, WorldFrame()), Point_(1.0, 4.0, 0.0, WorldFrame()), Point_(1.0, 1.0, 0.0, WorldFrame()), Point_(5.0, 1.0, 0.0, WorldFrame())}}