Object that holds elevation data retrieved from NOAA repository.
A user would not normally create an ElevationData object but rather obtain one from calling bridges::connect::DataSource::getElevationData()
A tutorial on how to use the Elevation dataset is available at: https://bridgesuncc.github.io/tutorials/Data_Elevation.html
- Author
- Jay Strahler
- Date
- 12/26/20
◆ ElevationData() [1/2]
bridges.data_src_dependent.ElevationData.ElevationData |
( |
| ) |
|
◆ ElevationData() [2/2]
bridges.data_src_dependent.ElevationData.ElevationData |
( |
int |
data[][], |
|
|
int |
cols, |
|
|
int |
rows, |
|
|
double |
xll, |
|
|
double |
yll, |
|
|
double |
cellsize, |
|
|
int |
maxVal, |
|
|
int |
minVal |
|
) |
| |
constructors
- Parameters
-
data | elevation data (2D array of ints) |
cols | width of data |
rows | height of data |
xll | lower left x coord of origin |
yll | lower left y coord of origin |
cellsize | size of each cell (resolution) |
maxVal | max value in dataset |
◆ getCellSize()
double bridges.data_src_dependent.ElevationData.getCellSize |
( |
| ) |
|
get cell size
return the current cell size
◆ getCols()
int bridges.data_src_dependent.ElevationData.getCols |
( |
| ) |
|
get width
- Returns
- dataset width
◆ getData()
int [][] bridges.data_src_dependent.ElevationData.getData |
( |
| ) |
|
get elev. data
- Returns
- the current dataset (2D array of ints)
◆ getMaxVal()
int bridges.data_src_dependent.ElevationData.getMaxVal |
( |
| ) |
|
get max value
- Returns
- max value of dataset
◆ getMinVal()
int bridges.data_src_dependent.ElevationData.getMinVal |
( |
| ) |
|
get min value
- Returns
- min value of dataset
◆ getRows()
int bridges.data_src_dependent.ElevationData.getRows |
( |
| ) |
|
get height
- Returns
- dataset height
◆ getVal()
int bridges.data_src_dependent.ElevationData.getVal |
( |
int |
r, |
|
|
int |
c |
|
) |
| |
◆ getxll()
double bridges.data_src_dependent.ElevationData.getxll |
( |
| ) |
|
get origin X
- Returns
- lower left x coord of origin
◆ getyll()
double bridges.data_src_dependent.ElevationData.getyll |
( |
| ) |
|
get origin Y
- Returns
- lower left y coord of origin
◆ setCellSize()
void bridges.data_src_dependent.ElevationData.setCellSize |
( |
double |
cellsize | ) |
|
set cell size
- Parameters
-
cellsize | set the cell size |
◆ setCols()
void bridges.data_src_dependent.ElevationData.setCols |
( |
int |
cols | ) |
|
◆ setData()
void bridges.data_src_dependent.ElevationData.setData |
( |
int |
data[][] | ) |
|
set elev. data
- Parameters
-
◆ setMaxVal()
void bridges.data_src_dependent.ElevationData.setMaxVal |
( |
int |
maxVal | ) |
|
set max value
- Parameters
-
maxVal | max value to be set |
◆ setMinVal()
void bridges.data_src_dependent.ElevationData.setMinVal |
( |
int |
minVal | ) |
|
set min value
- Parameters
-
minVal | min value to be set |
◆ setRows()
void bridges.data_src_dependent.ElevationData.setRows |
( |
int |
rows | ) |
|
◆ setxll()
void bridges.data_src_dependent.ElevationData.setxll |
( |
double |
xll | ) |
|
set origin X
- Parameters
-
xll | lower left x coord of origin to be set |
◆ setyll()
void bridges.data_src_dependent.ElevationData.setyll |
( |
double |
yll | ) |
|
set origin X
- Parameters
-
yll | lower left y coord of origin to be set |
The documentation for this class was generated from the following file:
- /home/erik/work/bridges/bridges-java/src/main/java/bridges/data_src_dependent/ElevationData.java