示例#1
0
 /// <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());
 }
示例#2
0
 /// <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());
 }
示例#3
0
 /// <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>();
 }
示例#4
0
 /// <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>();
 }