getConnectedAtoms

open override fun getConnectedAtoms(atoms: Set<Atom>): MutableSet<Atom>

Filters the given atoms down to just the ones connected to the anchor atoms.