The MazeMap class manages MazeNode objects in a 2D array and contains various properties of the maze.
Mehr ...
#include <MazeMap.hpp>
Öffentliche Methoden |
| MazeMap (const unsigned int p_width, const unsigned int p_height) |
MazeNode & | node (const unsigned int p_x, const unsigned int p_y) |
unsigned int | getWidth () |
unsigned int | getHeight () |
void | setNodeDimension (const float p_width, const float p_height) |
| Set the dimensions of a node in meter.
|
float | getNodeWidth () |
float | getNodeHeight () |
void | saveASCIIFile (const std::string &p_file) const |
| Saves the map and its blocked areas as ASCII art file.
|
Ausführliche Beschreibung
The MazeMap class manages MazeNode objects in a 2D array and contains various properties of the maze.
Dokumentation der Elementfunktionen
float minotaur::MazeMap::getNodeHeight |
( |
| ) |
|
- Rückgabe
- node height in meter
float minotaur::MazeMap::getNodeWidth |
( |
| ) |
|
- Rückgabe
- node width in meter
void minotaur::MazeMap::saveASCIIFile |
( |
const std::string & |
p_file | ) |
const |
Saves the map and its blocked areas as ASCII art file.
- Parameter
-
void minotaur::MazeMap::setNodeDimension |
( |
const float |
p_width, |
|
|
const float |
p_height |
|
) |
| |
Set the dimensions of a node in meter.
- Parameter
-
p_width | node width in meter |
p_height | node height in meter |
Die Dokumentation für diese Klasse wurde erzeugt aufgrund der Dateien:
- /home/fabian/develop/nxt_minotaur/src/minotaur_maze/include/minotaur_maze/MazeMap.hpp
- /home/fabian/develop/nxt_minotaur/src/minotaur_maze/src/minotaur_maze/MazeMap.cpp