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

Detailed Description

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


Definition at line 18 of file TPixelCoord.h.

#include <mrpt/img/TPixelCoord.h>

Public Types

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

Public Member Functions

 TPixelCoordf ()=default
 Default constructor: undefined values of x,y. More...
 TPixelCoordf (const float _x, const float _y)
 Constructor from x,y values. More...
template<typename T >
 TPixelCoordf (const std::pair< T, T > &p)

Public Attributes

float x {.0f}
float y {.0f}

Member Typedef Documentation

◆ pixel_coord_t

The type of x and y.

Definition at line 21 of file TPixelCoord.h.

Constructor & Destructor Documentation

◆ TPixelCoordf() [1/3]

mrpt::img::TPixelCoordf::TPixelCoordf ( )

Default constructor: undefined values of x,y.

◆ TPixelCoordf() [2/3]

mrpt::img::TPixelCoordf::TPixelCoordf ( const float  _x,
const float  _y 

Constructor from x,y values.

Definition at line 28 of file TPixelCoord.h.

◆ TPixelCoordf() [3/3]

template<typename T >
mrpt::img::TPixelCoordf::TPixelCoordf ( const std::pair< T, T > &  p)

Definition at line 30 of file TPixelCoord.h.

Member Data Documentation

◆ x

float mrpt::img::TPixelCoordf::x {.0f}

◆ y

float mrpt::img::TPixelCoordf::y {.0f}

Page generated by Doxygen 1.8.14 for MRPT 2.0.5 Git: ecc95703f Thu Jul 2 07:56:41 2020 +0200 at jue jul 2 08:00:14 CEST 2020