RhinoCommon API
RTreeSearchOverlaps Method |
Searches two R-trees for all pairs elements whose bounding boxes overlap.
Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll)

public static bool SearchOverlaps( RTree treeA, RTree treeB, double tolerance, EventHandler<RTreeEventArgs> callback )
Public Shared Function SearchOverlaps ( treeA As RTree, treeB As RTree, tolerance As Double, callback As EventHandler(Of RTreeEventArgs) ) As Boolean
Parameters
- treeA
- Type: Rhino.GeometryRTree
A first tree. - treeB
- Type: Rhino.GeometryRTree
A second tree. - tolerance
- Type: SystemDouble
If the distance between a pair of bounding boxes is less than tolerance, then callback is called. - callback
- Type: SystemEventHandlerRTreeEventArgs
A callback event handler.
Return Value
Type: Booleantrue if entire tree was searched. It is possible no results were found.

Rhino for Mac
Supported in: 5.4Rhino for Windows
Supported in: 6.14