public static SplineSaveList FromFile(string fileName) { SplineSaveList ssl = FileManager.XmlDeserialize <SplineSaveList>(fileName); ssl.mFileName = fileName; return(ssl); }
public static SplineSaveList FromSplineList(List<Spline> splines) { SplineSaveList ssl = new SplineSaveList(); for (int i = 0; i < splines.Count; i++) { ssl.Splines.Add(SplineSave.FromSpline(splines[i])); } return ssl; }
public static SplineSaveList FromSplineList(List <Spline> splines) { SplineSaveList ssl = new SplineSaveList(); for (int i = 0; i < splines.Count; i++) { ssl.Splines.Add(SplineSave.FromSpline(splines[i])); } return(ssl); }