Index of Nearest¶
The Index of Nearest node is a way to find other close elements in the same geometry. If needed you can use Group ID to determine the group of neighbors to be analyzed together.
This is an alternative to the Nút Mẫu Vật Gần Nhất (Sample Nearest Node) node. The main difference is that this node does not require a geometry input, because the geometry from the field context is used.
Mẹo
This is often combined with the Evaluate at Index Node or the Nút Chỉ Số Mẫu Vật (Sample Index Node) node.
Đầu Vào (Inputs)¶
- Vị Trí (Position)
The position for each element to search. By default, this is the same as if the Nút Vị Trí (Position Node) was connected.
- Group ID
ID to group elements together.
Đầu Ra (Outputs)¶
- Chỉ Số (Index)
The index of the closest element in the same geometry component.
- Has Neighbor
This is true when the group of the element has at least two elements. This is only relevant when using Group ID.