コード例 #1
0
        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();
        }
コード例 #2
0
 public void SetUp()
 {
     DelaunayRefine = new DelaunayRefine();
     DelaunayRefine.WorkBufferPool = new WorkBufferPool();
 }