4.20 OEBondIsInRingSize

bool OEBondIsInRingSize(const OEBondBase &atm, unsigned int size)

Determine whether the given bond is in a cycle of the specified size. The function OEFindRingAtomsAndBonds should have been called before calling this function. If the bond is not in a ring, i.e. OEBondBase::IsInRing returns false, then this function also returns false. This function returns false for all values for size less than three.