M_Rhino_Geometry_RTree_SearchOverlaps - mcneel/rhinocommon-api-docs GitHub Wiki

RTree.SearchOverlaps Method

Searches two R-trees for all pairs elements whose bounding boxes overlap.

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

Syntax

C#

public static bool SearchOverlaps(
	RTree treeA,
	RTree treeB,
	double tolerance,
	EventHandler<RTreeEventArgs> callback
)

VB

Public Shared Function SearchOverlaps ( 
	treeA As RTree,
	treeB As RTree,
	tolerance As Double,
	callback As EventHandler(Of RTreeEventArgs)
) As Boolean

Parameters

 

treeA
Type: Rhino.Geometry.RTree
A first tree.
treeB
Type: Rhino.Geometry.RTree
A second tree.
tolerance
Type: System.Double
If the distance between a pair of bounding boxes is less than tolerance, then callback is called.
callback
Type: System.EventHandler(RTreeEventArgs)
A callback event handler.

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
Rhino.Geometry Namespace

⚠️ **GitHub.com Fallback** ⚠️