polygonCheck()

概要

を返します。 さまざまな問題のステータスを示す points Name list をクリックします。 正しい結果です。 :normal :normal ポリゴンのみが、ポリゴン関数に適切な引数です。 以下のような潜在的な問題があります。

ポリゴン(Polygons) points list によって 「 最適化 」 のように表示されます。 最初の 3 つの同一線上にないポイントは points の残りの部分はその面に存在しない場合でも、ポリゴンの 「 平面 」 を定義し、すべての計算でその平面に投影されます。

構文

polygonCheck ( points As List ) As Name
引数 [タイプ] 説明
points List 確認対象のポリゴンです。

例 1

Intent >polygonCheck({Point(0,0,0), Point(2,0,0), Point(2,2,0)})
--> :normal

例 2

Intent >polygonCheck({Point(0,0,0), Point(2,0,0)})
--> :TooFewPoints

例 3

Intent >polygonCheck({Point(0,0,0), Point(2,0,0), Point(2,2,0), Point(2,0,0), Point(3,3,0)})
--> :NonSimplePolygon

例 4

Intent >polygonCheck({Point(0,0,0), Point(4,0,0), Point(4,4,0), Point(2,-1,0), Point(0,4,0)})
--> :SelfIntersectingPolygon