# Index3d<T> class

Namespace: [Grasshopper.Kernel.Geometry.SpatialTrees](https://developer.rhino3d.com/api/gh1/namespace/grasshopper.kernel.geometry.spatialtrees.md) · Assembly: [Grasshopper](https://developer.rhino3d.com/api/gh1/assembly/grasshopper.md)

```cs
[DebuggerDisplay("Global:{GlobalIndex} Local:{LocalIndex} ({Item})")]
public class Index3d<T> : IComparable<Index3d<T>>
```

Represents an element index within a Tree3d instance.

**Type parameters:**

- `T`

## Constructors

- [Index3d<T>](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.spatialtrees.index3d-1/ctor.md)

## Properties

- [GlobalIndex](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.spatialtrees.index3d-1/globalindex.md): Gets the item index within the tree global list.
- [Item](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.spatialtrees.index3d-1/item.md): Gets the actual item.
- [LocalIndex](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.spatialtrees.index3d-1/localindex.md): Gets the index within the node index list.
- [Node](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.spatialtrees.index3d-1/node.md): Gets the node of the tree in which this element is stored.

## Methods

- [CompareTo](https://developer.rhino3d.com/api/gh1/type/grasshopper.kernel.geometry.spatialtrees.index3d-1/compareto.md)
