OEAtomGetSmallestRingSize¶
unsigned int OEAtomGetSmallestRingSize(const OEAtomBase *atm)
unsigned int OEAtomGetSmallestRingSize(const OEAtomBase &atm)
Determines the size of the smallest ring that an atom is in.
If the atom is not in a ring,
i.e. OEAtomBase.IsInRing returns false, the
value zero is returned.
Warning
It is not necessary to perform the ring perception by calling
OEFindRingAtomsAndBonds function
prior to calling OEAtomGetSmallestRingSize function.
See also
Ring Perception chapter