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

The type of x and y.

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

Member Function Documentation

◆ operator==()

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

Definition at line 46 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: 9690a7a25 Mon Feb 24 17:42:02 2020 +0100 at lun feb 24 18:00:10 CET 2020