public override Tuple <IEnumerable <trTriangle>, IEnumerable <ILineContainer> > NewTriangulation(double eps) { this.CreateTriangulation(); List <ILineContainer> toReturn = new List <ILineContainer>(); foreach (List <Point> border in this._onlyPoints) { SpecPath toAdd = new SpecPath(); toAdd.Path = border; toReturn.Add(toAdd); } return(new Tuple <IEnumerable <trTriangle>, IEnumerable <ILineContainer> >(_triangles, toReturn)); }
public override Tuple <IEnumerable <trTriangle>, IEnumerable <ILineContainer> > NewTriangulation(double eps) { SpecPath path = new SpecPath(); path.Path = _figureBorder; List <ILineContainer> ToReturn = new List <ILineContainer>() { path }; return(new Tuple <IEnumerable <trTriangle>, IEnumerable <ILineContainer> > (_triangles, ToReturn)); }