4.15 OEAtomIsInAromaticRingSize

bool OEAtomIsInAromaticRingSize(const OEAtomBase &atm, unsigned int size)

Determine whether the given atom is in an aromatic cycle of the specified size. The function OEFindRingAtomsAndBonds should have been called before calling this function. If the atom is not aromatic, i.e. OEAtomBase::IsAromatic returns false, then this function also returns false.