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

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 ( )
default

Default constructor: undefined values of x,y.

◆ 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: ce1a28c9f Fri Aug 23 08:02:09 2019 +0200 at vie ago 23 08:10:11 CEST 2019