OEAtomIsInAromaticRingSize

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

Determines whether the given atom is in an aromatic cycle of the specified size. If the atom is not aromatic, i.e. OEAtomBase::IsAromatic returns false, then this function also returns false.

Warning

It is necessary to call OEFindRingAtomsAndBonds and OEAssignAromaticFlags functions prior to calling calling OEAtomIsInAromaticRingSize function.

See also