![]() |
Bridges-C++
3.2.0
Bridges(C++API)
|
#include <ElevationData.h>
Class that hold elevation data.
Class that holds Elevation data, from ??
Public Member Functions | |
ElevationData () | |
ElevationData (int r, int c) | |
ElevationData (int cols, int rows, int xll, int yll, int cellsize, int maxVal) | |
~ElevationData () | |
int | getCols () |
void | setCols (int c) |
int | getVal (int r, int c) |
void | setVal (int r, int c, int val) |
int | getRows () |
void | setRows (int r) |
int | getxll () |
void | setxll (int x_ll) |
int | getyll () |
void | setyll (int y_ll) |
int | getCellSize () |
void | setCellSize (int cell_size) |
int | getMaxVal () |
void | setMaxVal (int max_val) |
|
inline |
default constructor
|
inline |
constructor
r | number of rows (height) of elevation map |
c | number of columns (width) of elevation map |
|
inline |
constructor
rows | number of rows (height) of elevation map |
cols | number of columns (width) of elevation map |
xll | lower left of map - x coordinate |
yll | lower left of map - y coordinate |
cellsize | size of each cell |
maxVal | max elevation value in map |
|
inline |
destructor
|
inline |
get data resolution
|
inline |
get width of elevation map
|
inline |
get max elevation of data
|
inline |
get num rows of data
|
inline |
get width of elevation map
r | row index |
c | column index |
|
inline |
get lower left corner of data (X)
|
inline |
get lower left corner of data (Y)
|
inline |
set data resolution
cell_size | set the resolution of the map to cell_size |
|
inline |
set width of elevation map
c | width of map |
|
inline |
set max elevation of data
max_val | the max value of elevation to set |
|
inline |
set num rows of data
r | width of elevation map to set |
|
inline |
set elevation value at row r and column c
r | row index |
c | column index |
val | elevation value |
|
inline |
set lower left corner of data (X)
x_ll | lower left coord of X to set |
|
inline |
set lower left corner of data (Y)
y_ll | lower left coord of Y to set |