Example #1
0
        public static void WritePoly(this SectionDefinition sec, string filename)
        {
            var          poly = sec.BuildPolygon();
            TriangleFile fne  = new TriangleFile();

            fne.Write(poly, filename);
        }
Example #2
0
        public static void WriteMesh(this SectionDefinition sec, string filename)
        {
            var          poly = sec.BuildPolygon();
            var          mesh = sec.Triangulate(poly);
            TriangleFile fne  = new TriangleFile();

            fne.Write(mesh, filename);
        }