Main MRPT website > C++ reference for MRPT 1.9.9
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).

mrpt_img_grp

Definition at line 20 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 23 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 28 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 30 of file TPixelCoord.h.

◆ TPixelCoordf() [3/3]

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

Definition at line 32 of file TPixelCoord.h.

Member Data Documentation

◆ x

float mrpt::img::TPixelCoordf::x

◆ y

float mrpt::img::TPixelCoordf::y



Page generated by Doxygen 1.8.17 for MRPT 1.9.9 Git: ad3a9d8ae Tue May 1 23:10:22 2018 -0700 at miƩ 12 jul 2023 10:03:34 CEST