# RTreeEventArgs class

Namespace: [Rhino.Geometry](https://developer.rhino3d.com/api/rhinocommon/namespace/rhino.geometry.md) · Assembly: [RhinoCommon](https://developer.rhino3d.com/api/rhinocommon/assembly/rhinocommon.md)

```cs
public class RTreeEventArgs : EventArgs
```

Represents event data that is passed when an item that meets certain criteria is found and the passed RTree event is raised.

## Properties

- [Cancel](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.rtreeeventargs/cancel.md): Gets or sets a value that determines if the search should be conducted farther.
- [Id](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.rtreeeventargs/id.md): Gets the identifier of the found item.
- [IdB](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.rtreeeventargs/idb.md): If search is using two r-trees, IdB is element b in the search.
- [IdBPtr](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.rtreeeventargs/idbptr.md): If search is using two r-trees, IdB is the element b pointer in the search.
- [IdPtr](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.rtreeeventargs/idptr.md): Gets the identifier pointer of the found item.
- [SearchBoundingBox](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.rtreeeventargs/searchboundingbox.md): Bounding box bounds used during a search. You may modify the box in a search callback to help reduce the bounds to search.
- [SearchSphere](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.rtreeeventargs/searchsphere.md): Sphere bounds used during a search. You can modify the sphere in a search callback to help reduce the bounds to search.
- [Tag](https://developer.rhino3d.com/api/rhinocommon/type/rhino.geometry.rtreeeventargs/tag.md): Gets or sets an arbitrary object that can be attached to this event args. This object will "stick" through a single search and can represent user-defined state.
