コード例 #1
0
        internal Bathymetry(PFSSection Section)
        {
            _pfsHandle = Section;

            for (int i = 1; i <= Section.GetSectionsNo(); i++)
            {
                PFSSection sub = Section.GetSection(i);
                switch (sub.Name)
                {
                case "DFS_2D_DATA_FILE":
                    _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
                    break;

                case "SHAPE_FILE":
                    _sHAPE_FILE = new SHAPE_FILE(sub);
                    break;

                case "XYZ_FILE":
                    _xYZ_FILE = new XYZ_FILE(sub);
                    break;

                default:
                    _unMappedSections.Add(sub.Name);
                    break;
                }
            }
        }
コード例 #2
0
    internal Bathymetry(PFSSection Section)
    {
      _pfsHandle = Section;

      for (int i = 1; i <= Section.GetSectionsNo(); i++)
      {
        PFSSection sub = Section.GetSection(i);
        switch (sub.Name)
        {
        case "DFS_2D_DATA_FILE":
          _dFS_2D_DATA_FILE = new DFS_2D_DATA_FILE(sub);
          break;
        case "SHAPE_FILE":
          _sHAPE_FILE = new SHAPE_FILE(sub);
          break;
        case "XYZ_FILE":
          _xYZ_FILE = new XYZ_FILE(sub);
          break;
          default:
            _unMappedSections.Add(sub.Name);
          break;
        }
      }
    }