Beispiel #1
0
                public void Execute()
                {
                    var _path = StringToBytes.FromBytes(path.ToArray());

                    if (string.IsNullOrEmpty(_path))
                    {
                        return;
                    }

                    StreamReader reader = null;

                    try
                    {
                        rLOD0.CopyFrom(ReadGeomDataFromFile(FilePathForBuffer(_path, 0)));
                        rLOD1.CopyFrom(ReadGeomDataFromFile(FilePathForBuffer(_path, 1)));
                        rLOD2.CopyFrom(ReadGeomDataFromFile(FilePathForBuffer(_path, 2)));
                    } catch (Exception)

                    {
                    } finally
                    {
                        if (reader != null)
                        {
                            reader.Close();
                        }
                    }
                }