/// <summary> /// Translate the center of the protein to the center of the axis. /// </summary> /// <param name="a_prtn">Protein to be centered</param> private void CenterProt(Protein a_prtn) { a_prtn.Translate(-a_prtn.CenterX(), -a_prtn.CenterY(), -a_prtn.CenterZ()); }
/// <summary> /// Constructor for the backend object. This object holds 2 proteins and contains functions for protein-protein alignment. /// Contains functions that allow for the display to retrieve information about the protein. /// </summary> public Backend() { m_prot1 = new Protein(); m_prot2 = new Protein(); m_CAPair = new List <ResNumPair>(); }
/// <summary> /// Constructor for the backend object. This object holds 2 proteins and contains functions for protein-protein alignment. /// Contains functions that allow for the display to retrieve information about the protein. /// </summary> public Backend() { m_prot1 = new Protein(); m_prot2 = new Protein(); m_CAPair = new List<ResNumPair>(); }