public void CreateIteration(MeshFace startingFace) { Iterations.Clear(); CopyLayerManager.GotoNextLayer(); var iterator = new MeshIteration(); iterator.Create(startingFace); Iterations.Add(iterator); AddIteration(iterator); }
void AddIteration(MeshIteration previous) { CopyLayerManager.GotoNextLayer(); var iterator = new MeshIteration(); if (iterator.CreateFromIteration(previous)) { Iterations.Add(iterator); AddIteration(iterator); } }