Cluster by Distance Node¶
The Cluster by Distance node assigns cluster IDs to elements based on the proximity of their positions.
Elements within the specified distance of one another are assigned the same cluster ID. Separate Group ID values define independent sets of clusters.
For clustering based on mesh connectivity instead of spatial proximity, see the Cluster by Connected node.
Входы (inputs)¶
- Выделение (selection)
Boolean field indicating which elements participate in the clustering.
Unselected elements are ignored and do not contribute to any cluster.
- ID группы (group ID)
Integer field defining independent clustering groups.
Elements with different group IDs are clustered separately, even if they are within the specified distance.
- Положение (position)
Position of each element used to measure distances.
- Расстояние (distance)
Maximum distance between elements for them to belong to the same cluster.
Выходы (outputs)¶
- Cluster ID
Integer field identifying the cluster assigned to each selected element.
Elements with the same cluster ID belong to the same proximity-based cluster.