Represents a position in a 2D Matrix. More...
#include <eVision/Easy/EMatrixPosition.h>
Public Member Functions | |
| EMatrixPosition () | |
| Constructs a default EMatrixPosition object. | |
| EMatrixPosition (int x, int y) | |
| Constructs a default EMatrixPosition object. | |
| bool | operator== (const eVision::EMatrixPosition &position) const |
| Checks if two EMatrixPosition are strictly equal. | |
| bool | operator!= (const eVision::EMatrixPosition &position) const |
| Checks if two EMatrixPosition are strictly different. | |
Public Attributes | |
| int | X |
| X position. | |
| int | Y |
| Y position. | |
Represents a position in a 2D Matrix.
License(s): BasicTypes
| eVision::EMatrixPosition::EMatrixPosition | ( | ) |
Constructs a default EMatrixPosition object.
If the default constructor is used, the position is initialized to (0, 0).
| eVision::EMatrixPosition::EMatrixPosition | ( | int | x, |
| int | y ) |
Constructs a default EMatrixPosition object.
| x | X position. |
| y | Y position. |
If the default constructor is used, the position is initialized to (0, 0).
| bool eVision::EMatrixPosition::operator!= | ( | const eVision::EMatrixPosition & | position | ) | const |
Checks if two EMatrixPosition are strictly different.
| position | The other position. |
| bool eVision::EMatrixPosition::operator== | ( | const eVision::EMatrixPosition & | position | ) | const |
Checks if two EMatrixPosition are strictly equal.
| position | The other position. |
| int eVision::EMatrixPosition::X |
X position.
| int eVision::EMatrixPosition::Y |
Y position.