Location
Description
Location is used to identify pixels in image, elements in matrices etc. If float-based equivalent is needed, one should use Point2D.
struct Location { int x; int y; Location(); Location( int x, int y ); int X( void ) const; int Y( void ) const; bool operator == (const Location& rhs) const bool operator != (const Location& rhs) const; };
Structure Fields
Type fields and default values (if defined) are described below:
Name | Type | Description |
---|---|---|
X | Integer | |
Y | Integer |