Skip to content

M_Rhino_Geometry_RTree_Search_2

Will Pearson edited this page Aug 12, 2016 · 2 revisions

RTree.Search Method (Sphere, EventHandler(RTreeEventArgs))

Searches for items in a sphere.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: Rhino 6.0

Syntax

C#

public bool Search(
	Sphere sphere,
	EventHandler<RTreeEventArgs> callback
)

VB

Public Function Search ( 
	sphere As Sphere,
	callback As EventHandler(Of RTreeEventArgs)
) As Boolean

Parameters

 

sphere
Type: Rhino.Geometry.Sphere
bounds used for searching.
callback
Type: System.EventHandler(RTreeEventArgs)
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

Supported in: 6.0.16224.21491, 5D58w

See Also

Reference

RTree Class
Search Overload
Rhino.Geometry Namespace

Clone this wiki locally