struct mrpt::img::TPixelCoordf¶
A pair (x,y) of pixel coordinates (subpixel resolution).
mrpt_img_grp
#include <mrpt/img/TPixelCoord.h> struct TPixelCoordf { // typedefs typedef float pixel_coord_t; // fields float x {.0f}; float y {.0f}; // construction TPixelCoordf(); TPixelCoordf(const float _x, const float _y); template <typename T> TPixelCoordf(const std::pair<T, T>& p); };
Construction¶
TPixelCoordf()
Default constructor: undefined values of x,y.
TPixelCoordf(const float _x, const float _y)
Constructor from x,y values.