find_neighboring_beams

compas_timber.rhino.find_neighboring_beams(beams, inflate_by=0.0)[source]

Uses the Rhino.Geometry.RTree implementation of RTree to find neighboring beams.

Parameters:
beamslist(Beam)

The collection of beams to check.

inflate_byfloat

If set, inflate bounding boxes by this amount in all directions prior to adding to the RTree.

Returns:
list(set(compas_timber.parts.Beam))

List containing sets or neightboring pairs beams.