/// <summary>
 /// Write the segments and holes to a .poly file.
 /// </summary>
 /// <param name="mesh"></param>
 /// <param name="filename"></param>
 public static void WritePoly(Mesh mesh, string filename)
 {
     FileWriter.WritePoly(mesh, filename, true);
 }
Beispiel #2
0
 public void Write(Mesh mesh, string filename)
 {
     FileWriter.WritePoly(mesh, Path.ChangeExtension(filename, ".poly"));
     FileWriter.WriteElements(mesh, Path.ChangeExtension(filename, ".ele"));
 }