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