Click or drag to resize
RTreeSearchOverlaps Method
Searches two R-trees for all pairs elements whose bounding boxes overlap.

Namespace: Rhino.Geometry
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public static bool SearchOverlaps(
	RTree treeA,
	RTree treeB,
	double tolerance,
	EventHandler<RTreeEventArgs> callback
)

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: Boolean
true if entire tree was searched. It is possible no results were found.
See Also