を返します。 さまざまな問題のステータスを示す points Name の list をクリックします。 正しい結果です。 :normal :normal ポリゴンのみが、ポリゴン関数に適切な引数です。 以下のような潜在的な問題があります。
ポリゴン(Polygons) points の list によって 「 最適化 」 のように表示されます。 最初の 3 つの同一線上にないポイントは points の残りの部分はその面に存在しない場合でも、ポリゴンの 「 平面 」 を定義し、すべての計算でその平面に投影されます。
polygonCheck ( points As List ) As Name
引数 | [タイプ] | 説明 |
---|---|---|
points | List | 確認対象のポリゴンです。 |
Intent >polygonCheck({Point(0,0,0), Point(2,0,0), Point(2,2,0)})
--> :normal
Intent >polygonCheck({Point(0,0,0), Point(2,0,0)})
--> :TooFewPoints
Intent >polygonCheck({Point(0,0,0), Point(2,0,0), Point(2,2,0), Point(2,0,0), Point(3,3,0)})
--> :NonSimplePolygon
Intent >polygonCheck({Point(0,0,0), Point(4,0,0), Point(4,4,0), Point(2,-1,0), Point(0,4,0)})
--> :SelfIntersectingPolygon