Algorithm to help controlling creating and iterating in a tile.
More...
#include <CellTilling.h>
Algorithm to help controlling creating and iterating in a tile.
Definition at line 48 of file CellTilling.h.
◆ CellTilling()
te::gm::CellTilling::CellTilling |
( |
const te::gm::Envelope & |
envelope, |
|
|
double |
resolutionX, |
|
|
double |
resolutionY |
|
) |
| |
Constructor.
- Parameters
-
envelope | The envelope to be used for tilling |
resolution | The resolution of each tile Destructor |
◆ ~CellTilling()
te::gm::CellTilling::~CellTilling |
( |
| ) |
|
◆ getNumColumns()
std::size_t te::gm::CellTilling::getNumColumns |
( |
| ) |
const |
Returns the number of columns of the tilling.
- Returns
- The number of columns of the tilling
◆ getNumRows()
std::size_t te::gm::CellTilling::getNumRows |
( |
| ) |
const |
Returns the number of rows of the tilling.
- Returns
- The number of rows of the tilling
◆ getNumTiles()
std::size_t te::gm::CellTilling::getNumTiles |
( |
| ) |
const |
Returns the number of tiles of the tilling.
- Returns
- The number of tiles of the tilling
◆ getTile()
te::gm::Envelope te::gm::CellTilling::getTile |
( |
std::size_t |
column, |
|
|
std::size_t |
row |
|
) |
| const |
Returns the tile located in the given row and column.
- Returns
- The tile located in the given row and column Find the tile column index where the given coordinate is located
◆ getTileColumn()
std::size_t te::gm::CellTilling::getTileColumn |
( |
const te::gm::Coord2D & |
coord | ) |
const |
Find the tile row index where the given coordinate is located.
◆ getTileRow()
std::size_t te::gm::CellTilling::getTileRow |
( |
const te::gm::Coord2D & |
coord | ) |
const |
◆ m_envelope
◆ m_numColumns
std::size_t te::gm::CellTilling::m_numColumns |
|
protected |
The number of columns of the tilling.
Definition at line 102 of file CellTilling.h.
◆ m_numRows
std::size_t te::gm::CellTilling::m_numRows |
|
protected |
The number of rows of the tilling.
Definition at line 103 of file CellTilling.h.
◆ m_resolutionX
double te::gm::CellTilling::m_resolutionX |
|
protected |
The resolution of the tilling in the x-axis.
Definition at line 100 of file CellTilling.h.
◆ m_resolutionY
double te::gm::CellTilling::m_resolutionY |
|
protected |
The resolution of the tilling in the y-axis.
Definition at line 101 of file CellTilling.h.
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/geometry/algorithms/CellTilling.h