を返します。 pt ポリゴン list で説明されているポリゴンの内部にある場合は True をクリックします。
ポリゴン(Polygons) points の list によって 「 最適化 」 のように表示されます。 最初の 3 つの同一線上にない points がポリゴンの 「 平面 」 を定義し、 points の残りの部分はその面に配置されていない場合でも、すべての計算でその平面に投影されます。
pointInPolygon? ( pt As Point, _
poly As List ) As Boolean
引数 | [タイプ] | 説明 |
---|---|---|
pt | Point | テストするには、 point をクリックします。 |
poly | List | point list を定義するポリゴンを選択します。 |
Intent >pointInPolygon?(point(1,1,0), {Point(0,0,0), Point(2,0,0), Point(1,2,0)})
--> True
Intent >pointInPolygon?(point(2,1,0), {Point(0,0,0), Point(2,0,0), Point(1,2,0)})
--> False
Intent >pointInPolygon?(point(1,0,0), {Point(0,0,0), Point(2,0,0), Point(1,2,0)})
--> True