v3.0
VertexCollection VertexCollection.GrowNeighborVertices( Int32 in_lDistance ); |
oReturn = VertexCollection.GrowNeighborVertices( [Distance] ); |
パラメータ | タイプ | 説明 |
---|---|---|
Distance | Integer |
Distance は整数値で、近接度を表わします(たとえば、ある頂点に対して degree=2 とは、その頂点に隣接する頂点に加えて、隣接する頂点に隣接する頂点を意味します)。
デフォルト値: 1 |
set oCube = ActiveSceneRoot.AddGeometry( "Cube", "MeshSurface" ) set oGeometry = oCube.ActivePrimitive.Geometry set oVertices = oGeometry.Polygons(0).Vertices set oNeighborVertices = oVertices.GrowNeighborVertices str = "Vertices around the vertices of the polygon(0) are :" for each n in oNeighborVertices str = str & " " & n.index next logmessage str |