struct mrpt::img::TPixelCoord

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

#include <mrpt/img/TPixelCoord.h>

struct TPixelCoord
{
    // typedefs

    typedef int pixel_coord_t;

    //
fields

    int x {0};
    int y {0};

    // construction

    TPixelCoord();

    TPixelCoord(
        const int _x,
        const int _y
        );

    //
methods

    bool operator == (const TPixelCoord& o);
};

Typedefs

typedef int pixel_coord_t

The type of x and y.