Interface IRingSet

    • Method Detail

      • getRings

        IRingSet getRings​(IBond bond)
        Returns a vector of all rings that this bond is part of.
        Parameters:
        bond - The bond to be checked
        Returns:
        A vector of all rings that this bond is part of
      • getRings

        IRingSet getRings​(IAtom atom)
        Returns a vector of all rings that this atom is part of.
        Parameters:
        atom - The atom to be checked
        Returns:
        A vector of all rings that this bond is part of
      • getConnectedRings

        IRingSet getConnectedRings​(IRing ring)
        Returns all the rings in the RingSet that share one or more atoms with a given ring.
        Parameters:
        ring - A ring with which all return rings must share one or more atoms
        Returns:
        All the rings that share one or more atoms with a given ring.
      • contains

        boolean contains​(IAtom atom)
        True, if at least one of the rings in the ringset contains the given atom.
        Parameters:
        atom - IAtom to check
        Returns:
        true, if the ringset contains the atom
      • contains

        boolean contains​(IAtomContainer container)
        True, if this set contains the IAtomContainer.
        Parameters:
        container - IAtomContainer to check
        Returns:
        true, if the ringset contains the container
      • isEmpty

        boolean isEmpty()
        Returns true if this IRingSet has no atoms.
        Specified by:
        isEmpty in interface IAtomContainerSet
        Returns:
        a boolean indicating if this ring set no atoms