INTRODUCTION Overview Download and Install Quick Start Documentation Publications NONFRAMEWORK CODE Driver Interfaces Drivers Libraries Utilities FRAMEWORK CODE Interfaces Components Libraries Utilities Full Software Listings DEVELOPER Tutorials Examples Dev Guide Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
hydroogmap::GenericMap< T > Class Template Reference
Detailed Descriptiontemplate<typename T>
|
void hydroogmap::GenericMap< T >::getCellIndices | ( | double | worldX, | |
double | worldY, | |||
int & | gridX, | |||
int & | gridY | |||
) | const [inline] |
Get the grid cell indices of a point in the world worldX and worldY don't have to be within the map bounds.
void hydroogmap::GenericMap< T >::getWorldCoords | ( | int | gridX, | |
int | gridY, | |||
double & | worldX, | |||
double & | worldY | |||
) | const [inline] |
Get the world coordinates of a grid cell. (Returns the coords of the centre of the cell) gridX and gridY don't have to be within the map bounds.
const T& hydroogmap::GenericMap< T >::gridCell | ( | const GridIndices & | gridIndices | ) | const [inline] |
Get a cell, indexed by map coords (no bounds checking is performed)
T& hydroogmap::GenericMap< T >::gridCell | ( | const GridIndices & | gridIndices | ) | [inline] |
Set a cell indexed by map coords (no bounds checking is performed)
const T& hydroogmap::GenericMap< T >::gridCell | ( | int | indX, | |
int | indY | |||
) | const [inline] |
Get a cell, indexed by map coords (no bounds checking is performed)
Referenced by hydroogmap::GenericMap< double >::gridCell().
T& hydroogmap::GenericMap< T >::gridCell | ( | int | indX, | |
int | indY | |||
) | [inline] |
Get a cell-reference, indexed by map coords (no bounds checking is performed)
Referenced by hydroogmap::GenericMap< double >::gridCell().
const T& hydroogmap::GenericMap< T >::worldCell | ( | const WorldCoords & | worldCoords | ) | const [inline] |
Get a cell, indexed by world coords (no bounds checking is performed)
T& hydroogmap::GenericMap< T >::worldCell | ( | const WorldCoords & | worldCoords | ) | [inline] |
Set a cell indexed by world coords (no bounds checking is performed)
const T& hydroogmap::GenericMap< T >::worldCell | ( | double | worldX, | |
double | worldY | |||
) | const [inline] |
Get a cell, indexed by world coords (no bounds checking is performed)
Referenced by hydroogmap::GenericMap< double >::worldCell().
T& hydroogmap::GenericMap< T >::worldCell | ( | double | worldX, | |
double | worldY | |||
) | [inline] |
Set a cell indexed by world coords (no bounds checking is performed)
Referenced by hydrosim2d::VehicleSimulator::isCollided(), and hydroogmap::GenericMap< double >::worldCell().
WorldCoords hydroogmap::GenericMap< T >::worldCoords | ( | const GridIndices & | gridIndices | ) | const [inline] |
Get the world coordinates of a grid cell. (Returns the coords of the centre of the cell) gridX and gridY don't have to be within the map bounds.
Referenced by hydroogmap::OgLosTracer::isClearWorld().
double hydroogmap::GenericMap< T >::worldXCoord | ( | int | gridX | ) | const [inline] |
Get the x world coord of a grid cell. (Returns the coords of the centre of the cell) gridX doesn't have to be within the map bounds.
double hydroogmap::GenericMap< T >::worldYCoord | ( | int | gridY | ) | const [inline] |
Get the y world coord of a grid cell. (Returns the coords of the centre of the cell) gridY doesn't have to be within the map bounds.
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)