パラメータ | タイプ | 詳細 | ||||
---|---|---|---|---|---|---|
compIdx | Integer | コンポーネントのインデックス
|
||||
distance | Integer | 考慮に入れる距離 |
'Create a cube CreatePrim "Cube", "MeshSurface" set oSelList = GetValue("SelectionList") set oItem = oSelList(0) set oGeometry = oItem.obj oNb1D = oGeometry.Nb1D set o1DGeometry = oGeometry.Geometry1D ' Loop on all the 1D geometry for i = 0 to oNb1D - 1 o0DNeighborhood = o1DGeometry.Neighborhood0D( i, 1 ) for j = LBound( o0DNeighborhood, 1 ) to UBound( o0DNeighborhood, 1 ) LogMessage "Component [" & i & "] 0D neighbor : " & o0DNeighborhood(j) next next |