compas_timber.rhino
¤
Functions¤
find_neighboring_elements
¤
Uses the Rhino.Geometry.RTree implementation of RTree to find neighboring beams.
Parameters:
-
elements(list(:class:`~compas_timber.elements.Beam`)) –The collection of beams to check.
-
inflate_by(float, default:0.0) –If set, inflate bounding boxes by this amount in all directions prior to adding to the RTree.
Returns:
-
list(set(:class:`compas_timber.elements.Beam`))–List containing sets or neightboring pairs beams.