OEBondIsInAromaticRingSize¶
bool OEBondIsInAromaticRingSize(const OEBondBase *bnd, unsigned int size)
bool OEBondIsInAromaticRingSize(const OEBondBase &bnd, unsigned int size)
Determines whether the given bond is in an aromatic cycle of the
specified size. If the bond is not aromatic, i.e.
OEBondBase::IsAromatic returns false, then this
function also returns false.
Warning
It is necessary to call OEFindRingAtomsAndBonds and
OEAssignAromaticFlags functions prior to calling
OEBondIsInAromaticRingSize function.
See also
- Ring Perception chapter