3.1.2 GetAtoms

virtual OESystem::OEIterBase<OEAtomBase> *GetAtoms() const
virtual OESystem::OEIterBase<OEAtomBase> *GetAtoms(
    const OESystem::OEUnaryPredicate<OEChem::OEAtomBase> &) const

Return an OEAtomBase iterator of the neighboring atoms of this atom. The returned iterator traverses only the explicit atoms that are bonded to the OEAtomBase. The number of neighbors in the iterator is identical to OEAtomBase::GetExplicitDegree.