Click or drag to resize

RTreeSearch Method (BoundingBox, EventHandlerRTreeEventArgs, Object)

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,
	Object tag


Type: Rhino.GeometryBoundingBox
A bounding box.
Type: SystemEventHandlerRTreeEventArgs
An event handler to be raised when items are found.
Type: SystemObject
State to be passed inside the RTreeEventArgs Tag property.

Return Value

Type: Boolean
true if entire tree was searched. It is possible no results were found.
Version Information

Rhino for Mac

Supported in: 5.4

Rhino for Windows

Supported in: 6.2
See Also