Пример #1
0
    public void ProcessXYZFile(FileInfo file)
    {
        if (this.outOfRange(file.Name))
        {
            Console.WriteLine("Skipping " + file.Name + " since it contains an unrelated tile.");
            return;
        }

        foreach (var point in XYZFile.ReadContinuously(file.FullName))
        {
            this.handlePoint(point);
        }
    }
Пример #2
0
 public static Vector3[] Read(string fileName, char separator = ' ')
 {
     return(XYZFile.ReadContinuously(fileName, separator).ToArray());
 }
Пример #3
0
 public static Vector3[] Read(string fileName)
 {
     return(XYZFile.ReadContinuously(fileName).ToArray());
 }