rtree

compas_wood.joinery.rtree(list_of_polylines)[source]

Get neighbors of elements using a R-tree.

Parameters

list_of_polylines (list[Polyline]) – list of polylines that represents the timber elements

Returns

tuple – list[list[int]] elements_neighbours, list[Mesh] elements_AABB list[Mesh] elements_OOBB