# TreeItem<T> class

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

```cs
public class TreeItem<T>
```

Represents a single item in an octree.

**Type parameters:**

- `T`

## Properties

- [Item](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.treeitem-1/item.md): Gets the item data. Do not modify the state of this item or it will invalidate the spatial tree.
- [Locus](https://developer.rhino3d.com/api/gh2/type/grasshopper2.geometry.spatialtree.treeitem-1/locus.md): Gets the location of this item.
