Tile
MinMaxTreeTile
, SimpleTile
public interface UpdatableTile
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.
|
void setGeometry(double minLatitude, double minLongitude, double latitudeStep, double longitudeStep, int latitudeRows, int longitudeColumns)
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 columnsvoid setElevation(int latitudeIndex, int longitudeIndex, double elevation)
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).
latitudeIndex
- index of latitude (row index)longitudeIndex
- index of longitude (column index)elevation
- elevation (m)Copyright © 2014-2019 CS Systèmes d'information. All rights reserved.