static IDictionary <int, Transformation> CreatePeriodicTransformationsFrom(
     Vector[] boundary,
     IDictionary <int, int> periodicBoundaryMap)
 {
     BoundaryLine[] boundaryLines = BoundaryLine.ToLines(boundary);
     return(CreatePeriodicTransformationsFrom(boundaryLines, periodicBoundaryMap));
 }
Exemple #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);
 }