#include <TerrainCell.h>
◆ TerrainCell() [1/4]
TerrainCell::TerrainCell |
( |
| ) |
|
◆ TerrainCell() [2/4]
◆ TerrainCell() [3/4]
◆ ~TerrainCell()
TerrainCell::~TerrainCell |
( |
| ) |
|
|
default |
◆ TerrainCell() [4/4]
TerrainCell::TerrainCell |
( |
int |
i, |
|
|
int |
j |
|
) |
| |
Specialized constructor for passing the i and j coordinates.
- Parameters
-
i | Zero-based index of the. |
j | An int to process. |
◆ getAABB()
Creates an AABB volume from the information stored and passes a reference.
- Returns
- An AABB
◆ getIndex()
void TerrainCell::getIndex |
( |
int & |
outputI, |
|
|
int & |
outputJ |
|
) |
| |
Gets the stored indices of i and j, outputs to arguments.
- Parameters
-
[in,out] | outputI | The output i. |
[in,out] | outputJ | The output j. |
◆ operator=() [1/2]
◆ operator=() [2/2]
Move assignment operator.
◆ operator==()
bool TerrainCell::operator== |
( |
const TerrainCell & |
otherCell | ) |
const |
Equality operator for two cells.
- Parameters
-
- Returns
- True if the parameters are considered equivalent.
Primarily used within comparison checking of two iterators (whether or not the cells they hold are equivalent).
◆ SetIndex()
void TerrainCell::SetIndex |
( |
int |
i, |
|
|
int |
j |
|
) |
| |
Sets the indices of i and j.
- Parameters
-
i | Zero-based index of the. |
j | An int to process. |
◆ SetTerrain()
Sets the terrain to be held within the object.
- Parameters
-
[in,out] | inputTerrain | If non-null, the input terrain. |
◆ aabb
◆ terrain
The documentation for this class was generated from the following files: