public interface IRingSet extends IAtomContainerSet
Modifier and Type | Method and Description |
---|---|
void |
add(IRingSet ringSet)
Adds all rings of another RingSet if they are not allready part of this ring set.
|
boolean |
contains(IAtom atom)
True, if at least one of the rings in the ringset contains
the given atom.
|
boolean |
contains(IAtomContainer container)
True, if this set contains the IAtomContainer.
|
IRingSet |
getConnectedRings(IRing ring)
Returns all the rings in the RingSet that share
one or more atoms with a given ring.
|
IRingSet |
getRings(IAtom atom)
Returns a vector of all rings that this atom is part of.
|
IRingSet |
getRings(IBond bond)
Returns a vector of all rings that this bond is part of.
|
boolean |
isEmpty()
Returns true if this IRingSet has no atoms.
|
add, addAtomContainer, addAtomContainer, atomContainers, getAtomContainer, getAtomContainerCount, getMultiplier, getMultiplier, getMultipliers, removeAllAtomContainers, removeAtomContainer, removeAtomContainer, replaceAtomContainer, setMultiplier, setMultiplier, setMultipliers, sortAtomContainers
addListener, addProperties, clone, getFlag, getFlags, getFlagValue, getID, getListenerCount, getNotification, getProperties, getProperty, getProperty, notifyChanged, notifyChanged, removeListener, removeProperty, setFlag, setFlags, setID, setNotification, setProperties, setProperty, toString
getBuilder
IRingSet getRings(IBond bond)
bond
- The bond to be checkedIRingSet getRings(IAtom atom)
atom
- The atom to be checkedIRingSet getConnectedRings(IRing ring)
ring
- A ring with which all return rings must share one or more atomsvoid add(IRingSet ringSet)
IAtomContainerSet.addAtomContainer(org.openscience.cdk.interfaces.IAtomContainer)
ringSet
- the ring set to be united with this one.boolean contains(IAtom atom)
atom
- IAtom to checkboolean contains(IAtomContainer container)
container
- IAtomContainer to checkboolean isEmpty()
isEmpty
in interface IAtomContainerSet
Copyright © 2022. All rights reserved.