Ejemplo n.º 1
0
 /// <summary>
 /// This constructor creates strands from the complete, checked inputs of its ExpansionKrystal argument.
 /// (No further checking is done.)
 /// </summary>
 /// <param name="ek">An expansion krystal with complete, checked inputs</param>
 public Expansion(ExpansionKrystal ek)
 {
     try
     {
         Expander expander = ek.Expander;
         expander.CalculateAbstractPointPositions(ek.DensityInputKrystal);
         List <StrandNode> strandNodeList = ek.StrandNodeList();
         Expand(strandNodeList, expander);
     }
     catch (ApplicationException ex)
     {
         throw ex;
     }
 }