void FinishFirstCut(List <BoundaryLine> lines) { //Information needed for the last cell, when boundary is closed firstCell = new FirstCutInfo { firstCellCutRidge = state.ActiveEdge, linesFirstCell = new List <BoundaryLine>(lines), CutCase = state.Case }; }
void Initialize( IDMesh <T> mesh, Boundary <T> boundary) { this.meshIntersecter = new MeshIntersecter <T>(mesh); this.greatDivider = new Divider <T>(mesh, boundary); state = new CutterState <Edge <T> >(); edgeCutter = new OnEdgeCutter <T>(this.meshIntersecter, this.boundaryLines); firstCell = null; }