/// <summary> /// Number the vertices and write them to a .node file. /// </summary> /// <param name="mesh"></param> /// <param name="filename"></param> public static void Write(Mesh mesh, string filename) { FileWriter.WritePoly(mesh, Path.ChangeExtension(filename, ".poly")); FileWriter.WriteElements(mesh, Path.ChangeExtension(filename, ".ele")); }
/// <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); }