
v3.0
指定された距離内にある、このエッジの各ポイントに隣接しているすべてのエッジを含むEdgeオブジェクトのコレクションを戻します。
oReturn = Edge.GrowNeighborEdges( [Distance] ); |
| パラメータ | タイプ | 詳細 |
|---|---|---|
| 距離 | Integer | Distance は整数値で、近接度を表わします(たとえば、あるエッジに対してdegree=2
とは、そのエッジに隣接するエッジに加えて、隣接するエッジに隣接するエッジを意味します)。
デフォルト値: 1 |
set oCube = ActiveSceneRoot.AddGeometry( "Cube", "MeshSurface" )
set oGeometry = oCube.ActivePrimitive.Geometry
for each Edge in oGeometry.Edges
set oNeighbors = Edge.GrowNeighborEdges
str = "Edges around Edge(" & Edge.index & ") are :"
for each n in oNeighbors
str = str & " " & n.index
next
logmessage str
next
|