示例#1
0
文件: Storage.cs 项目: krasi070/OOP
 public static void Save(Path3D path3D, string path)
 {
     using (StreamWriter writer = new StreamWriter(path))
     {
         for (int i = 0; i < path3D.NumberOfPoints(); i++)
         {
             writer.WriteLine(path3D.Get3DPoint(i).ToString());
         }
     }
 }