Esempio n. 1
0
 /// <summary>
 /// Create interpolator based on <paramref name="sourceMesh"/>
 /// </summary>
 public MeshInterpolator2D(SMeshData sourceMesh, MeshValueType sourceType)
 {
     _smesh      = sourceMesh;
     _sourceType = sourceType;
     _ssearcher  = new SMeshSearcher(_smesh);
     _ssearcher.SetupElementSearch();
     Init();
 }
Esempio n. 2
0
 /// <summary>
 /// Initialize the search data structures.
 /// </summary>
 public void InitSearcher()
 {
     if (_searcher == null)
     {
         _searcher = new SMeshSearcher(_mesh);
         _searcher.SetupElementSearch();
     }
 }