Esempio n. 1
0
 public ColumnAndRowElevationPostRecordRetriever(
     TerrainDB terrainDB,
     IElevationPostCoordinateClamper elevationPostCoordinateClamper = null)
 {
     _terrainDB = terrainDB;
     _elevationPostCoordinateClamper = elevationPostCoordinateClamper ?? new ElevationPostCoordinateClamper(_terrainDB);
 }
 public TerrainTextureByTextureIdRetriever(
     TerrainDB terrainDB,
     INearTileTextureLoader nearTileTextureLoader     = null,
     IFarTileTextureRetriever farTileTextureRetriever = null)
 {
     _terrainDB               = terrainDB;
     _nearTileTextureLoader   = nearTileTextureLoader ?? new NearTileTextureLoader(_terrainDB);
     _farTileTextureRetriever = farTileTextureRetriever ?? new FarTileTextureRetriever(_terrainDB);
 }
 public NearestElevationPostColumnAndRowCalculator(
     TerrainDB terrainDB,
     IDistanceBetweenElevationPostsCalculator distanceBetweenElevationPostsCalculator = null,
     IElevationPostCoordinateClamper elevationPostCoordinateClamper = null)
 {
     _terrainDB = terrainDB;
     _distanceBetweenElevationPostsCalculator = distanceBetweenElevationPostsCalculator ?? new DistanceBetweenElevationPostsCalculator(_terrainDB);
     _elevationPostCoordinateClamper          = elevationPostCoordinateClamper ?? new ElevationPostCoordinateClamper(_terrainDB);
 }
 public DetailTextureForElevationPostRetriever(
     TerrainDB terrainDB,
     IElevationPostCoordinateClamper elevationPostCoordinateClamper               = null,
     ITerrainTextureByTextureIdRetriever terrainTextureByTextureIdRetriever       = null,
     IColumnAndRowElevationPostRecordRetriever columnAndRowElevationPostRetriever = null
     )
 {
     _terrainDB = terrainDB;
     _elevationPostCoordinateClamper     = elevationPostCoordinateClamper ?? new ElevationPostCoordinateClamper(_terrainDB);
     _terrainTextureByTextureIdRetriever = terrainTextureByTextureIdRetriever ?? new TerrainTextureByTextureIdRetriever(_terrainDB);
     _columnAndRowElevationPostRetriever = columnAndRowElevationPostRetriever ?? new ColumnAndRowElevationPostRecordRetriever(_terrainDB, _elevationPostCoordinateClamper);
 }
Esempio n. 5
0
 public LatLongCalculator(TerrainDB terrainDB)
 {
     _terrainDB = terrainDB;
 }
 public TheaterMapBuilder(TerrainDB terrainDB)
 {
     _terrainDB = terrainDB;
 }
Esempio n. 7
0
 public FarTileTextureRetriever(TerrainDB terrainDB)
 {
     _terrainDB = terrainDB;
 }
Esempio n. 8
0
 public NearTileTextureLoader(TerrainDB terrainDB)
 {
     _terrainDB = terrainDB;
 }