Пример #1
0
 public override void Dispose()
 {
     if (m_terrainTileService != null)
     {
         m_terrainTileService.Dispose();
         m_terrainTileService = null;
     }
 }
Пример #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref= "T:Qrst.Terrain.TerrainDownloadRequest"/> class.
 /// </summary>
 /// <param name="tile"></param>
 /// <param name="owner"></param>
 /// <param name="row"></param>
 /// <param name="col"></param>
 /// <param name="targetLevel"></param>
 public TerrainDownloadRequest(TerrainTile tile, TerrainTileService owner, int row, int col, int targetLevel)
     : base(owner)
 {
     TerrainTile  = tile;
     download.Url = String.Format(CultureInfo.InvariantCulture,
                                  "{0}?T={1}&L={2}&X={3}&Y={4}",
                                  owner.ServerUrl,
                                  owner.DataSet,
                                  targetLevel, col, row);
 }
Пример #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref= "T:Qrst.Terrain.NltTerrainAccessor"/> class.
 /// </summary>
 /// <param name="name"></param>
 /// <param name="west"></param>
 /// <param name="south"></param>
 /// <param name="east"></param>
 /// <param name="north"></param>
 /// <param name="terrainTileService"></param>
 /// <param name="higherResolutionSubsets"></param>
 public NltTerrainAccessor(string name, double west, double south, double east, double north,
                           TerrainTileService terrainTileService, TerrainAccessor[] higherResolutionSubsets)
 {
     m_name  = name;
     m_west  = west;
     m_south = south;
     m_east  = east;
     m_north = north;
     m_terrainTileService      = terrainTileService;
     m_higherResolutionSubsets = higherResolutionSubsets;
 }
Пример #4
0
 public TerrainTile(TerrainTileService owner)
 {
     m_owner = owner;
 }