public interface UpdatableTile
| Modifier and Type | Method and 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)
throws RuggedException
minLatitude - minimum latitudeminLongitude - minimum longitudelatitudeStep - step in latitude (size of one raster element)longitudeStep - step in longitude (size of one raster element)latitudeRows - number of latitude rowslongitudeColumns - number of longitude columnsRuggedException - if tile is empty (zero rows or columns)void setElevation(int latitudeIndex,
int longitudeIndex,
double elevation)
throws RuggedException
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)RuggedException - if indices are out of boundCopyright © 2014–2016 CS Syst?mes d'Information. All rights reserved.