| 
  | findRingSpears(self,
        ring_struct,
        spear_struct=None,
        rings=None,
        ring_based=True,
        pbc=None)
   |  |  Find all cases where a bond spears a ring 
    Parameters:
        ring_struct(schrodinger.structure.Structure) - The structure containing the ringsspear_struct(schrodinger.structure.Structure) - The structure containing the atoms that might spear the rings. If
          not provided, ring_struct will be used.rings(list) - Each item of the list is a schrodinger.structure._Ring object.
          This is the list returned by the findRings() method. If not 
          provided, they will be calculated on the fly - which takes 
          considerable time. If findRingSpears will be run more than once 
          on the same structure (even if the geometry changes), the rings 
          should be precalculated via findRings and passed in via this 
          parameter.ring_based(bool) - Whether the returned dictionary should contain keys that are atom
          indexes of the speared ring (True), or of the bond spearing the 
          ring (False)pbc(None, infrastructure.PBC, or list) - If periodic boundary conditions should be used, provide either an
          infrastructure.PBC object or the parameters to construct one. 
          Allowed constructors:
   * a, b, c : box lengths
   * a, b, c, alpha, beta, gamma box : box lengths and angles
   * ax, ay, az, bx, by, bz, cx, cy, cz : box vectors
Returns: dictIf ring_based=True, keys are an atom index of one of the atoms in
          the speared ring, and values are the atom index of one of the 
          atoms in the spearing bond. If ring_based=False, the keys/values 
          are flipped. |