Click or drag to resize

RTreeSearch Method (Sphere, EventHandlerRTreeEventArgs)

Searches for items in a sphere.

Namespace:  Rhino.Geometry
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
public bool Search(
	Sphere sphere,
	EventHandler<RTreeEventArgs> callback
)

Parameters

sphere
Type: Rhino.GeometrySphere
bounds used for searching.
callback
Type: SystemEventHandlerRTreeEventArgs
An event handler to be raised when items are found.

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.5
See Also