.. include:: ../substitutions

.. oe:namespace:: OEChem

.. meta::
   :keywords: OEGetOtherNeighbor

.. oe:function:: OEGetOtherNeighbor

   .. oe:language:: c++ java csharp

      .. oe:api::

         OEBondBase* OEGetOtherNeighbor(const OEAtomBase* atm,
                                        const OEBondBase* nbr)
         OEAtomBase* OEGetOtherNeighbor(const OEAtomBase* atm,
                                        const OEAtomBase* nbr)

   .. oe:language:: python

      .. oe:api:: python

         OEGetOtherNeighbor(atm: OEAtomBase, nbr: OEBondBase) -> OEBondBase
         OEGetOtherNeighbor(atm: OEAtomBase, nbr: OEAtomBase) -> OEAtomBase


