|
libcamera v0.7.1+1-5701eb5f-nvm
Supporting cameras in Linux since 2019
|
Describe a point in two-dimensional space. More...
Public Member Functions | |
| constexpr | Point () |
| Construct a Point with x and y set to 0. | |
| constexpr | Point (int xpos, int ypos) |
| Construct a Point at given xpos and ypos values. | |
| std::string | toString () const |
| Assemble and return a string describing the point. | |
| constexpr Point | operator- () const |
| Negate a Point by negating both its x and y coordinates. | |
Public Attributes | |
| int | x |
| The x-coordinate of the Point. | |
| int | y |
| The y-coordinate of the Point. | |
Describe a point in two-dimensional space.
The Point structure defines a point in two-dimensional space with integer precision. The coordinates of a Point may be negative as well as positive.
Construct a Point at given xpos and ypos values.
| [in] | xpos | The x-coordinate |
| [in] | ypos | The y-coordinate |
|
inlineconstexpr |
Negate a Point by negating both its x and y coordinates.
| std::string libcamera::Point::toString | ( | ) | const |
Assemble and return a string describing the point.