OEHasClash

bool OEHasClash(const OEChem::OEMolBase &ligand,
                  const OEChem::OEMolBase &receptor,
                  const unsigned allowedType)

Returns true if there is clash between the supplied ligand and the receptor. Otherwise, it returns false. The third argument, allowedType, refers to definition of allowed clash type, according to the OEAllowedClashType namespace.