OEGetSoleNeighbor

OEAtomBase *OEGetSoleNeighbor(const OEAtomBase *atm)

Gets the first neighbor of the given atom. If there is more than one neighbor, the atom chosen is arbitrary. If there is no atom, the function returns a null pointer.