3.24.10 GetBond

virtual OEBondBase *GetBond(
  const OESystem::OEUnaryPredicate<OEChem::OEBondBase> &) const

Retrieve the first bond of a molecule that matches the specified bond predicate. If the molecule does not contain a bond that matches the predicate, a NULL pointer, (OEBondBase*)0, is returned.

virtual OEBondBase *GetBond(const OEAtomBase *src,
                            const OEAtomBase *dst) const

Retrieve the bond of a molecule between two specified atoms. If the two atoms, ``src'' and ``dst'' are not bonded together, this function returns the NULL pointer, (OEBondBase*)0.