|  | levelz-cpp 0.2.0
    | 
#include <matrix.hpp>
 
  
| Public Member Functions | |
| CoordinateMatrix2D (int x, int y, LevelZ::Coordinate2D start) | |
| CoordinateMatrix2D (int minX, int maxX, int minY, int maxY, LevelZ::Coordinate2D start) | |
| std::vector< LevelZ::Coordinate2D > | getCoordinates () const | 
| std::vector< LevelZ::Coordinate2D >::const_iterator | begin () const | 
| std::vector< LevelZ::Coordinate2D >::const_iterator | end () const | 
| bool | operator== (const CoordinateMatrix2D &other) const | 
| bool | operator!= (const CoordinateMatrix2D &other) const | 
| std::string | to_string () const | 
| Static Public Member Functions | |
| static LevelZ::CoordinateMatrix2D | from_string (const std::string &str) | 
| Public Attributes | |
| int | minX | 
| int | maxX | 
| int | minY | 
| int | maxY | 
| LevelZ::Coordinate2D | start | 
Represents a 2D matrix of coordinates.
| 
 | inline | 
Constructs a new CoordinateMatrix2D object with the minimum coordinates at 0.
| x | The maximum x coordinate of the matrix. | 
| y | The maximum y coordinate of the matrix. | 
| start | The starting coordinate of the matrix. | 
| 
 | inline | 
Constructs a new CoordinateMatrix2D object with the specified minimum and maximum coordinates.
| minX | The minimum x coordinate of the matrix. | 
| maxX | The maximum x coordinate of the matrix. | 
| minY | The minimum y coordinate of the matrix. | 
| maxY | The maximum y coordinate of the matrix. | 
| start | The starting coordinate of the matrix. | 
| 
 | inlinestatic | 
Converts a string to a 2D coordinate matrix.
| str | The string to convert. | 
| 
 | inline | 
Gets the coordinates in the matrix.
| 
 | inline | 
Checks if two 2D coordinate matrices are not equal.
| other | The other coordinate matrix to compare to. | 
| 
 | inline | 
Checks if two 2D coordinate matrices are equal.
| other | The other coordinate matrix to compare to. | 
| 
 | inlinevirtual | 
Converts this coordinate matrix to a string.
Implements LevelZ::CoordinateMatrix.
| int LevelZ::CoordinateMatrix2D::maxX | 
The maximum x coordinate of the matrix.
| int LevelZ::CoordinateMatrix2D::maxY | 
The maximum y coordinate of the matrix.
| int LevelZ::CoordinateMatrix2D::minX | 
The minimum x coordinate of the matrix.
| int LevelZ::CoordinateMatrix2D::minY | 
The minimum y coordinate of the matrix.
| LevelZ::Coordinate2D LevelZ::CoordinateMatrix2D::start | 
The starting coordinate of the matrix.