M_Rhino_Geometry_RTree_Search_1 - mcneel/rhinocommon-api-docs GitHub Wiki
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) Version: Rhino 6.0
C#
public bool Search(
BoundingBox box,
EventHandler<RTreeEventArgs> callback,
Object tag
)
VB
Public Function Search (
box As BoundingBox,
callback As EventHandler(Of RTreeEventArgs),
tag As Object
) As Boolean
- box
- Type: Rhino.Geometry.BoundingBox
A bounding box. - callback
- Type: System.EventHandler(RTreeEventArgs)
An event handler to be raised when items are found. - tag
- Type: System.Object
State to be passed inside the RTreeEventArgs Tag property.
Type: Boolean
true if entire tree was searched. It is possible no results were found.
Supported in: 6.0.16224.21491, 5D58w