# Evaluate<T> delegate

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 delegate Evaluate<T>
```

Delegate for getting the (x,y,z) coordinates of a spatial tree element.

**Type parameters:**

- `in T`: Element type.

**Signature:**

```cs
void Evaluate<T>(T element, out double x, out double y, out double z)
```

**Parameters:**

- `element` (`T`): Element.
- `x` (out [double](https://learn.microsoft.com/dotnet/api/system.double)): Return the x coordinate of the element here.
- `y` (out [double](https://learn.microsoft.com/dotnet/api/system.double)): Return the y coordinate of the element here.
- `z` (out [double](https://learn.microsoft.com/dotnet/api/system.double)): Return the z coordinate of the element here.
