Package org.orekit.rugged.raster
Interface UpdatableTile
-
- All Known Subinterfaces:
Tile
- All Known Implementing Classes:
MinMaxTreeTile
,SimpleTile
public interface UpdatableTile
Interface representing one tile of a raster Digital Elevation Model.- Author:
- Luc Maisonobe, Guylaine Prat
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
setElevation(int latitudeIndex, int longitudeIndex, double elevation)
Set the elevation for one raster element.void
setGeometry(double minLatitude, double minLongitude, double latitudeStep, double longitudeStep, int latitudeRows, int longitudeColumns)
Set the tile global geometry.
-
-
-
Method Detail
-
setGeometry
void setGeometry(double minLatitude, double minLongitude, double latitudeStep, double longitudeStep, int latitudeRows, int longitudeColumns)
Set the tile global geometry.- Parameters:
minLatitude
- minimum latitude (rad)minLongitude
- minimum longitude (rad)latitudeStep
- step in latitude (size of one raster element) (rad)longitudeStep
- step in longitude (size of one raster element) (rad)latitudeRows
- number of latitude rowslongitudeColumns
- number of longitude columns
-
setElevation
void setElevation(int latitudeIndex, int longitudeIndex, double elevation)
Set the elevation for one raster element.BEWARE! The order of the indices follows geodetic conventions, i.e. the latitude is given first and longitude afterwards, so the first index specifies a row index with zero at South and max value at North, and the second index specifies a column index with zero at West and max value at East. This is not the same as some raster conventions (as our row index increases from South to North) and this is also not the same as Cartesian coordinates as our ordinate index appears before our abscissa index).
- Parameters:
latitudeIndex
- index of latitude (row index)longitudeIndex
- index of longitude (column index)elevation
- elevation (m)
-
-