OEMakePatchFromDesignUnitΒΆ

bool OEMakePatchFromDesignUnit(OEChem::OEMolBase &patch,
                               const OEBio::OEDesignUnit &du,
                               const OESiteHopperPatchOptions &opts=OESiteHopperPatchOptions())
bool OEMakePatchFromDesignUnit(OEChem::OEMolBase &patch,
                               OESpicoli::OESurface &outSurface,
                               const OEBio::OEDesignUnit &du,
                               const OESiteHopperPatchOptions &opts=OESiteHopperPatchOptions())

Create a new SiteHopper patch from the passed in OEDesignUnit. This is not normally used as this method is called inside database creation and at search time.