Package org.orekit.rugged.raster
Class TilesCache<T extends Tile>
- java.lang.Object
-
- org.orekit.rugged.raster.TilesCache<T>
-
-
Constructor Summary
Constructors Constructor Description TilesCache(TileFactory<T> factory, TileUpdater updater, int maxTiles, boolean isOverlappingTiles)
Simple constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
getTile(double latitude, double longitude)
Get the tile covering a ground point.
-
-
-
Constructor Detail
-
TilesCache
public TilesCache(TileFactory<T> factory, TileUpdater updater, int maxTiles, boolean isOverlappingTiles)
Simple constructor.- Parameters:
factory
- factory for creating empty tilesupdater
- updater for retrieving tiles datamaxTiles
- maximum number of tiles stored simultaneously in the cacheisOverlappingTiles
- flag to tell if the DEM tiles are overlapping: true if overlapping; false otherwise.
-
-
Method Detail
-
getTile
public T getTile(double latitude, double longitude)
Get the tile covering a ground point.- Parameters:
latitude
- ground point latitude (rad)longitude
- ground point longitude (rad)- Returns:
- tile covering the ground point
-
-