Пример #1
0
 /// <summary>
 /// First step: Construction of Sibling Half-Facets (sibhfs). </para>
 /// From element´s connectivity (input), it returns a cyclic mapping of sibbling half-V (output).
 /// (CAUTION) Note that the local half-facet indexing starts with 1;
 /// </summary>
 private bool BuildAllElementsSiblingHalfFacets()
 {
     //try
     //{
     ElementsKeys.ForEach(elementID => BuildElementSiblingHalFacets(elementID));
     _tempVertexToHalfFacets.Clear();
     return(true);
     //}
     //catch (Exception) { return false; }
 }
Пример #2
0
 public bool UpdateAllElementsSiblingHalfFacets()
 {
     try
     {
         CleanAllElementsTopologicalData();
         IElement e;
         ElementsKeys.ForEach(eK =>
         {
             e = _elements[eK];
             InitializeElementTopologicalData(e);
             _elements[eK] = e;
         });
         BuildAllElementsSiblingHalfFacets();
         return(true);
     }
     catch (Exception) { return(false); }
 }