OEBondGetSmallestRingSize

unsigned int OEBondGetSmallestRingSize(const OEBondBase &bnd)
unsigned int OEBondGetSmallestRingSize(const OEBondBase *bnd)

Determines the size of the smallest ring that a bond is in. If the bond is not in a ring, i.e. OEBondBase.IsInRing returns false, the value zero is returned.

Warning

It is necessary to perform ring perception by calling OEFindRingAtomsAndBonds function prior to calling OEBondGetSmallestRingSize function.

See also