MRPT  1.9.9
List of all members | Public Types | Public Member Functions | Public Attributes
mrpt::img::TPixelCoord Struct Reference

Detailed Description

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

Definition at line 40 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

The type of x and y.

Definition at line 43 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 46 of file TPixelCoord.h.

Member Function Documentation

◆ operator==()

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

Definition at line 47 of file TPixelCoord.h.

References x, and y.

Member Data Documentation

◆ x

int mrpt::img::TPixelCoord::x {0}

◆ y

int mrpt::img::TPixelCoord::y {0}



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: c7a3bec24 Sun Mar 29 18:33:13 2020 +0200 at dom mar 29 18:50:38 CEST 2020