MRPT  2.0.4
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 ( )

◆ TPixelCoord() [2/2]

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

Definition at line 46 of file TPixelCoord.h.

Member Function Documentation

◆ operator==()

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

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 2.0.4 Git: 7ea9b7e81 Mon May 25 11:43:10 2020 +0200 at lun may 25 11:45:15 CEST 2020