ConnectionSolver.find_intersecting_pairs
- classmethod ConnectionSolver.find_intersecting_pairs(beams, rtree=False, max_distance=None)
Finds pairs of intersecting beams in the given list of beams.
- Parameters:
beams (list(
Beam)) – A list of beam objects.rtree (bool) – When set to True R-tree will be used to search for neighboring beams.
max_distance (float, optional) – When rtree is True, an additional distance apart with which non-touching beams are still considered intersecting.
- Returns:
list(set(
Beam,Beam)) – List containing sets or neightboring pairs beams.