Point
Description
Defines the coordinate point structure that stores the position of an image pixel.
Structure Definition
1 2 3 4 5 6 7 8 9 | struct Point { Point() : x(0), y(0) {}; Point(const uint32_t inputX, const uint32_t inputY) : x(inputX), y(inputY) {}; uint32_t x = 0; uint32_t y = 0; }; |
Parameters
Parameter |
Description |
|---|---|
x, inputX |
X coordinate (The upper left corner of the image is taken as the origin of coordinates.) |
y, inputY |
Y coordinate (The upper left corner of the image is taken as the origin of coordinates.) |
Parent topic: General Data Structures