OEGetNbrAtom
class OEGetNbrAtom : public OESystem::OEUnaryFunction<OEChem::OEBondBase*, OEChem::OEAtomBase*>
This class represents OEGetNbrAtom functor that, when constructed with one atom and passed a bond, will return the neighbor atom which is across the bond from the construction atom.
The following methods are publicly inherited from OEUnaryFunction:
Constructors
OEGetNbrAtom(atom: OEAtomBase) -> OEGetNbrAtom
Constructs the functor with atom (OEAtomBase) as the reference atom used to find neighbors.
operator()
__call__(arg2: OEBondBase) -> OEAtomBase
Returns the OEAtomBase pointer that returned
by the OEBondBase.GetNbr (atom),
where ‘atom’ is the construction OEAtomBase
argument.
CreateCopy
CreateCopy() -> OEUnaryFuncBondAtom
Deep copy constructor that returns a copy of the object. The memory for the returned OEGetNbrAtom object is dynamically allocated and owned by the caller.