Algorithm to help controlling creating and iterating in a tile.
More...
#include <SubdividerTilling.h>
Algorithm to help controlling creating and iterating in a tile.
Definition at line 53 of file SubdividerTilling.h.
◆ SplitLinePosition
Enumerator |
---|
TOP | |
BOTTOM | |
LEFT | |
RIGHT | |
MIDDLE_VERTICAL | |
MIDDLE_HORIZONTAL | |
Definition at line 57 of file SubdividerTilling.h.
◆ SubdividerTilling()
te::vp::SubdividerTilling::SubdividerTilling |
( |
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 |
◆ ~SubdividerTilling()
te::vp::SubdividerTilling::~SubdividerTilling |
( |
| ) |
|
|
default |
◆ getNumColumns()
std::size_t te::vp::SubdividerTilling::getNumColumns |
( |
| ) |
const |
Returns the number of columns of the tilling.
- Returns
- The number of columns of the tilling
◆ getNumRows()
std::size_t te::vp::SubdividerTilling::getNumRows |
( |
| ) |
const |
Returns the number of rows of the tilling.
- Returns
- The number of rows of the tilling
◆ getNumTiles()
std::size_t te::vp::SubdividerTilling::getNumTiles |
( |
| ) |
const |
Returns the number of tiles of the tilling.
- Returns
- The number of tiles of the tilling
◆ getSplitLine() [1/2]
Returns the split line located in the given envelope and line position.
- Returns
- The split line located in the given envelope and position
◆ getSplitLine() [2/2]
Returns the split line located in the given row, column and position.
- Returns
- The split line located in the given row, column and position
◆ getTile()
te::gm::Envelope te::vp::SubdividerTilling::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::vp::SubdividerTilling::getTileColumn |
( |
const te::gm::Coord2D & |
coord | ) |
const |
Find the tile row index where the given coordinate is located.
◆ getTileN()
Returns the i-th tile.
- Returns
- The i-th tile
◆ getTileRow()
std::size_t te::vp::SubdividerTilling::getTileRow |
( |
const te::gm::Coord2D & |
coord | ) |
const |
◆ m_envelope
◆ m_numColumns
std::size_t te::vp::SubdividerTilling::m_numColumns |
|
protected |
◆ m_numRows
std::size_t te::vp::SubdividerTilling::m_numRows |
|
protected |
◆ m_resolutionX
double te::vp::SubdividerTilling::m_resolutionX |
|
protected |
◆ m_resolutionY
double te::vp::SubdividerTilling::m_resolutionY |
|
protected |
The documentation for this class was generated from the following file:
- /home/castejon/castejon_files/develop/terralib5/git_release/src/terralib/vp/SubdividerTilling.h