spannertools.get_crossing

abjad.tools.spannertools.get_crossing(components)

Assert thread-contiguous components. Collect spanners that attach to any component in ‘components’. Return unordered set of crossing spanners. A spanner P crosses a list of thread-contiguous components C when P and C share at least one component and when it is the case that NOT ALL of the components in P are also in C. In other words, there is some intersection – but not total intersection – between the components of P and C.

Compare ‘crossing’ spanners with ‘covered’ spanners. Compare ‘crossing’ spanners with ‘dominant’ spanners. Compare ‘crossing’ spanners with ‘contained’ spanners. Compare ‘crossing’ spanners with ‘attached’ spanners.

Previous topic

spannertools.get_covered

Next topic

spannertools.get_dominant

This Page