#include <cellcoordinates.hpp>
CSMWorld::CellCoordinates::CellCoordinates |
( |
| ) |
|
CSMWorld::CellCoordinates::CellCoordinates |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
CSMWorld::CellCoordinates::CellCoordinates |
( |
const std::pair< int, int > & |
coordinates | ) |
|
std::pair< int, int > CSMWorld::CellCoordinates::coordinatesToCellIndex |
( |
float |
x, |
|
|
float |
y |
|
) |
| |
|
static |
- Returns
- cell coordinates such that given world coordinates are in it.
- Returns
- first: CellCoordinates (or 0, 0 if cell does not have coordinates), second: is cell paged?
- Note
- The worldspace part of id is ignored
std::string CSMWorld::CellCoordinates::getId |
( |
const std::string & |
worldspace | ) |
const |
Return the ID for the cell at these coordinates.
int CSMWorld::CellCoordinates::getX |
( |
| ) |
const |
int CSMWorld::CellCoordinates::getY |
( |
| ) |
const |
bool CSMWorld::CellCoordinates::isExteriorCell |
( |
const std::string & |
id | ) |
|
|
static |
Return a copy of *this, moved by the given offset.
int CSMWorld::CellCoordinates::mX |
|
private |
int CSMWorld::CellCoordinates::mY |
|
private |
The documentation for this class was generated from the following files: