|
| | TileCoords () noexcept |
| | Constructor. More...
|
| |
| | TileCoords (int32_t nAtLeastSize) noexcept |
| | Constructor. More...
|
| |
| void | reInit (int32_t nAtLeastSize) noexcept |
| | Clears the instance. More...
|
| |
| void | add (int32_t nX, int32_t nY, const Tile &oTile) noexcept |
| | Add a tile coord. More...
|
| |
| void | add (NPoint oXY, const Tile &oTile) noexcept |
| | Add a tile coord. More...
|
| |
| void | addRect (int32_t nX, int32_t nY, int32_t nW, int32_t nH, const Tile &oTile) noexcept |
| | Set tile for all coords in a rectangle. More...
|
| |
| void | addRect (NRect oRect, const Tile &oTile) noexcept |
| | Set tile for all coords in a rectangle. More...
|
| |
| std::pair< bool, Tile > | getTile (int32_t nX, int32_t nY) const noexcept |
| | Whether the instance contains a tile at a position. More...
|
| |
| std::pair< bool, Tile > | getTile (NPoint oXY) const noexcept |
| | Whether the instance contains a tile at a position. More...
|
| |
| void | add (const TileCoords &oTileCoords) noexcept |
| | Add another coords to this instance. More...
|
| |
| void | remove (const Coords &oCoords) noexcept |
| | Remove all the coords of another instance,. More...
|
| |
| TileCoords::const_iterator | begin () noexcept |
| |
| TileCoords::const_iterator | begin () const noexcept |
| |
| TileCoords::const_iterator | end () noexcept |
| |
| TileCoords::const_iterator | end () const noexcept |
| |
| | Coords () noexcept |
| | Constructor. More...
|
| |
| | Coords (int32_t nAtLeastSize) noexcept |
| | Constructor. More...
|
| |
| void | reInit () noexcept |
| | Clears the instance. More...
|
| |
| void | reInit (int32_t nAtLeastSize) noexcept |
| | Clears the instance. More...
|
| |
| int32_t | size () const noexcept |
| | The number of (unique) coords in the instance. More...
|
| |
| bool | isEmpty () const noexcept |
| | Whether set is empty. More...
|
| |
| void | add (int32_t nX, int32_t nY) noexcept |
| | Add a coord. More...
|
| |
| void | add (NPoint oXY) noexcept |
| | Add a coord. More...
|
| |
| void | addRect (int32_t nX, int32_t nY, int32_t nW, int32_t nH) noexcept |
| | Add all cords in a rectangle. More...
|
| |
| void | addRect (NRect oRect) noexcept |
| | Add all cords in a rectangle. More...
|
| |
| bool | contains (int32_t nX, int32_t nY) const noexcept |
| | Whether the instance contains a coord. More...
|
| |
| bool | contains (NPoint oXY) const noexcept |
| | Whether the instance contains a coord. More...
|
| |
| bool | remove (int32_t nX, int32_t nY) noexcept |
| | Removes a coord if it exists. More...
|
| |
| bool | remove (NPoint oXY) noexcept |
| | Removes a coord if it exists. More...
|
| |
| void | removeInRect (int32_t nX, int32_t nY, int32_t nW, int32_t nH) noexcept |
| | Remove all coords within a rect. More...
|
| |
| void | removeInRect (NRect oRect) noexcept |
| | Add all cords in a rectangle. More...
|
| |
| NRect | getMinMax () const noexcept |
| | Get the smallest recangle containing all the coords. More...
|
| |
| void | add (const Coords &oCoords) noexcept |
| | Add another coords to this instance. More...
|
| |
| void | remove (const Coords &oCoords) noexcept |
| | Remove all the coords of another instance,. More...
|
| |
| const_iterator | begin () const noexcept |
| |
| Coords::const_iterator | end () const noexcept |
| |
| bool | remove (const const_iterator &it) noexcept |
| |