4.129 OESameResidue

bool OESameResidue(const OEResidue &res1, const OEResidue &res2)

This function determines whether two OEResidues represent the same residue. This returns true when both residues are in the same chain (see OESameChain), have the same residue number, OEResidue::GetResidueNumber, the same sequence insertion code, OEResidue::GetInsertCode, and the same name, OEResidue::GetName.