OESameAlternateLocation

bool OESameAlternateLocation(const OEAtomBase& res1,
                             const OEAtomBase& res2,
                             const bool allowBlank = false)
bool OESameAlternateLocation(const OEResidue& res1,
                             const OEResidue& res2,
                             const bool allowBlank = false)

Determines whether two atoms or their respective OEResidue s represent the same alternate location. This returns true when both residue have the same alternate location, or when one has a designated alternate location and the other has a blank (unspecified) alternate location. This does not enforce that the atoms to be in the same residue.