3.1.32 IsInRing

virtual bool IsInRing() const

Return the Boolean ``in ring'' property of an atom. The default value is false. The ``in ring'' property of an atom may be set using the OEAtomBase::SetInRing method. The ``in ring'' properties of atoms and bonds are typically set by calling OEChem's OEFindRingAtomsAndBonds function. This is a stored, not a computed, property.

To determine whether an atom is a member of a specific ring/cycle size, use the function OEAtomIsInRingSize().