Simple Point class containing a public unsigned x
and y
for representing 2D points on an image.
More...
#include <Point.h>
Simple Point class containing a public unsigned x
and y
for representing 2D points on an image.
◆ Point() [1/2]
Default constructor, set the point to (0, 0)
◆ Point() [2/2]
Point::Point |
( |
unsigned |
x, |
|
|
unsigned |
y |
|
) |
| |
|
inline |
Constructor.
- Parameters
-
x | coordinate of a point |
y | coordinate of a point |
◆ operator<()
bool Point::operator< |
( |
const Point & |
other | ) |
const |
|
inline |
overload operator <
- Parameters
-
- Returns
- True for smaller, false for otherwise
◆ operator==()
bool Point::operator== |
( |
const Point & |
other | ) |
const |
|
inline |
overload operator ==
- Parameters
-
- Returns
- True for smaller, false for otherwise
The documentation for this struct was generated from the following file: