パラメータ | タイプ | 説明 | ||||
---|---|---|---|---|---|---|
compIdx | Integer |
コンポーネントのインデックス
|
||||
distance | Integer | 考慮に入れる距離 |
'Create a cube CreatePrim "Cube", "MeshSurface" set oSelList = GetValue("SelectionList") set oItem = oSelList(0) set oGeometry = oItem.obj oNb2D = oGeometry.Nb2D set o2DComponent = oGeometry.Geometry2D ' Loop on all the 2D Component for i = 0 to oNb2D - 1 o2DNeighborhood = o2DComponent.Neighborhood2D( i, 1 ) for j = LBound( o2DNeighborhood, 1 ) to UBound( o2DNeighborhood, 1 ) LogMessage "Component [" & i & "] 2D neighbor : " & o2DNeighborhood(j) next next |