MRPT  1.9.9
mrpt::img::TPixelCoordf Struct Reference

Detailed Description

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

mrpt_img_grp

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

Member Typedef Documentation

◆ pixel_coord_t

using mrpt::img::TPixelCoordf::pixel_coord_t = float

The type of x and y.

Definition at line 21 of file TPixelCoord.h.

Constructor & Destructor Documentation

◆ TPixelCoordf() [1/3]

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

Default constructor: undefined values of x,y.

Definition at line 26 of file TPixelCoord.h.

◆ TPixelCoordf() [2/3]

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

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

Definition at line 30 of file TPixelCoord.h.

Member Data Documentation

◆ x

◆ y




Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: 7d5e6d718 Fri Aug 24 01:51:28 2018 +0200 at lun nov 2 08:35:50 CET 2020