Class Grid
- java.lang.Object
-
- es.situm.sdk.model.cartography.calibration.Grid
-
public class Grid extends Object
A Grid formed by cells. The grid has width and height in meters. The cellSize size is the size of the cells in m^2
-
-
Constructor Summary
Constructors Constructor Description Grid(int width, int height, int cellSize, int maxValue, List<IntegerCell> cells)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<IntegerCell>getCells()Return all the cellsintgetCellSize()Return the cell size (in square meters)intgetHeight()Return the height (in meters)intgetMaxValue()Return the max value of the cells of the gridintgetWidth()Return the width (in meters)
-
-
-
Constructor Detail
-
Grid
public Grid(int width, int height, int cellSize, int maxValue, List<IntegerCell> cells)
-
-
Method Detail
-
getWidth
public int getWidth()
Return the width (in meters)
-
getHeight
public int getHeight()
Return the height (in meters)
-
getCellSize
public int getCellSize()
Return the cell size (in square meters)
-
getMaxValue
public int getMaxValue()
Return the max value of the cells of the grid
-
getCells
public List<IntegerCell> getCells()
Return all the cells
-
-