RhinoCommon API
RTreeSearch Method (BoundingBox, EventHandlerRTreeEventArgs) |
Searches for items in a bounding box.
The bounding box can be singular and contain exactly one single point.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public bool Search( BoundingBox box, EventHandler<RTreeEventArgs> callback )
Public Function Search ( box As BoundingBox, callback As EventHandler(Of RTreeEventArgs) ) As Boolean
Parameters
- box
- Type: Rhino.GeometryBoundingBox
A bounding box. - callback
- Type: SystemEventHandlerRTreeEventArgs
An event handler to be raised when items are found.
Return Value
Type: Booleantrue if entire tree was searched. It is possible no results were found.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.8