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

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

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

◆ y

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



Page generated by Doxygen 1.8.14 for MRPT 2.0.1 Git: 0fef1a6d7 Fri Apr 3 23:00:21 2020 +0200 at vie abr 3 23:20:28 CEST 2020