MRPT  1.9.9
mrpt::img::TPixelCoord Struct Reference

Detailed Description

A pair (x,y) of pixel coordinates (integer resolution).

Definition at line 39 of file TPixelCoord.h.

#include <mrpt/img/TPixelCoord.h>

Public Types

using pixel_coord_t = int
 The type of x and y. More...
 

Public Member Functions

 TPixelCoord ()=default
 
 TPixelCoord (const int _x, const int _y)
 
bool operator== (const TPixelCoord &o)
 

Public Attributes

int x {0}
 
int y {0}
 

Member Typedef Documentation

◆ pixel_coord_t

using mrpt::img::TPixelCoord::pixel_coord_t = int

The type of x and y.

Definition at line 42 of file TPixelCoord.h.

Constructor & Destructor Documentation

◆ TPixelCoord() [1/2]

mrpt::img::TPixelCoord::TPixelCoord ( )
default

◆ TPixelCoord() [2/2]

mrpt::img::TPixelCoord::TPixelCoord ( const int  _x,
const int  _y 
)
inline

Definition at line 45 of file TPixelCoord.h.

Member Function Documentation

◆ operator==()

bool mrpt::img::TPixelCoord::operator== ( const TPixelCoord o)
inline

Definition at line 46 of file TPixelCoord.h.

References x, and y.

Member Data Documentation

◆ x

◆ y




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ce1a28c9f Fri Aug 23 08:02:09 2019 +0200 at vie ago 23 08:10:11 CEST 2019