# Grasshopper2.Geometry.Clustering namespace

Assembly: [Grasshopper2](https://developer.rhino3d.com/api/gh2/assembly/grasshopper2.md)

## Interfaces

- [IDimensional](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.idimensional.md): Interface for all objects that exist within a specific dimensionality.
- [ISampleSet](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.isampleset.md): Base interface (no generics) for n-dimensional sample sets.

## Structs

- [BoxN](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.boxn.md): Represents an immutable n-dimensional rectangle.
- [PointN](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.pointn.md): Represents a single immutable n-dimensional point.

## Classes

- [DimensionalityMismatchException](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.dimensionalitymismatchexception.md): Exception used when elements of different dimensionality interact.
- [DimensionalityNumberException](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.dimensionalitynumberexception.md): Exception used for zero or negative dimensionalities.
- [KdTree](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.kdtree.md): Represents an immutable kD-tree associated with a sample set.
- [KdTreeSearchResults](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.kdtreesearchresults.md): Represent a collection of near searches.
- [KMeansCluster](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.kmeanscluster.md): Represents an immutable k-means cluster associated with a sample set.
- [KohonenMap<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.kohonenmap-1.md): Provides a generic self-organising or 'Kohonen' map. Which is a way to transform high-dimensional data onto a two dimensional grid.
- [KohonenNeuron](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.kohonenneuron.md): Represents a single neuron in a Kohonen map.
- [SampleSet<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.sampleset-1.md): Represents an immutable data set of n-dimensional samples.

## Enums

- [KdLeafMergePrecedence](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.kdleafmergeprecedence.md): Enumerates the possible ways in which leaves can be merged.
- [KdMeanSelectionPrecedence](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.kdmeanselectionprecedence.md): Enumerates the possible ways in which leaves can be enumerated.
- [KdMeanType](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.kdmeantype.md): Enumerates the possible ways in which leaf means can be defined.
- [ProcessInstruction](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.processinstruction.md): Enumerates the possible types of instructions regarding long running processes.

## Delegates

- [KMeansIteration](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.kmeansiteration.md): Callback delegate for K-Means clustering calculations.
- [ProjectItem<T>](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.clustering.projectitem-1.md): Project an item into N-dimensional euclidean space.
