# KdMeanSelectionPrecedence enum

Namespace: [Grasshopper2.Geometry.Clustering](https://developer.rhino3d.com/api/gh2/namespace/grasshopper2.geometry.clustering.md) · Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

```cs
public enum KdMeanSelectionPrecedence
```

Enumerates the possible ways in which leaves can be enumerated.

## Values

| Name | Value | Description |
| --- | --- | --- |
| Recursive | 0 | Recursive enumeration is implied by the data structure and is also the quickest. |
| Small | 1 | Small leaf nodes are returned first. |
| Large | 2 | Large leaf nodes are returned first. |
| Empty | 3 | Nodes containing few items are returned first. |
| Full | 4 | Nodes containing many items are returned first. |
