public void SetUp() { Mesh = new MeshData(); Mesh.Vertices.AddRange(Fixtures.TwitterBirdVertices); Mesh.Edges.AddRange(Fixtures.TwitterBirdEdges); Mesh.Triangles.AddRange(Fixtures.TwitterBirdMonotoneTriangles); Triangles = new Triangles(Mesh); var delaunay = new DelaunayRefine(); delaunay.WorkBufferPool = new WorkBufferPool(); delaunay.RefineTriangles(Triangles); Filter = new Filter(); Filter.WorkBufferPool = new WorkBufferPool(); }
public void SetUp() { DelaunayRefine = new DelaunayRefine(); DelaunayRefine.WorkBufferPool = new WorkBufferPool(); }