Describe a point in twodimensional space.
More...

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. More...


const std::string  toString () const 
 Assemble and return a string describing the point. More...


constexpr Point  operator () const 
 Negate a Point by negating both its x and y coordinates. More...



int  x 
 The xcoordinate of the Point.


int  y 
 The ycoordinate of the Point.


Describe a point in twodimensional space.
The Point structure defines a point in twodimensional space with integer precision. The coordinates of a Point may be negative as well as positive.
◆ Point()
libcamera::Point::Point 
( 
int 
xpos, 


int 
ypos 

) 
 

inline 
Construct a Point at given xpos and ypos values.
 Parameters

[in]  xpos  The xcoordinate 
[in]  ypos  The ycoordinate 
◆ operator()
Point libcamera::Point::operator 
( 
 ) 
const 

inline 
Negate a Point by negating both its x and y coordinates.
 Returns
 The negated point
◆ toString()
const std::string libcamera::Point::toString 
( 
 ) 
const 
Assemble and return a string describing the point.
 Returns
 A string describing the point
The documentation for this class was generated from the following files:
 include/libcamera/geometry.h
 src/libcamera/geometry.cpp