
v3.0
oReturn = EdgeCollection.GrowNeighborEdges( [Distance] ); |
| パラメータ | タイプ | 詳細 |
|---|---|---|
| 距離 | Integer | Distance は整数値で、近接度を表わします(例:あるエッジに対してdegree=2
とは、そのエッジに隣接するエッジに加えて、隣接するエッジに隣接するエッジを意味します)。
デフォルト値: 1 |
set oCube = ActiveSceneRoot.AddGeometry( "Cube", "MeshSurface" )
set oGeometry = oCube.ActivePrimitive.Geometry
set oEdges = oGeometry.Polygons(0).Edges
set oNeighborEdges = oEdges.GrowNeighborEdges
str = "Edges around the edges of the polygon(0) are :"
for each n in oNeighborEdges
str = str & " " & n.index
next
logmessage str
|