Esempio n. 1
0
 static IDictionary <int, Transformation> CreatePeriodicTransformationsFrom(
     Vector[] boundary,
     IDictionary <int, int> periodicBoundaryMap)
 {
     BoundaryLine[] boundaryLines = BoundaryLine.ToLines(boundary);
     return(CreatePeriodicTransformationsFrom(boundaryLines, periodicBoundaryMap));
 }
Esempio n. 2
0
 public MeshGenerator(MeshingAlgorithm.State settings)
 {
     cutter          = new Cutter <T>();
     boundingBox     = settings.BoundingBox;
     boundaryLines   = BoundaryLine.ToLines(settings.Boundary);
     boundaryHandler = new PeriodicBoundaryHandler <T>(settings.PeriodicMap);
 }