File indexing completed on 2024-03-24 15:23:33

0001 #ifndef NEARESTNEIGHBORINTERPOLATION_H
0002 #define NEARESTNEIGHBORINTERPOLATION_H
0003 
0004 #include "InterpolationMethod.h"
0005 
0006 class ReadOnlyMapImage;
0007 
0008 class NearestNeighborInterpolation: public InterpolationMethod
0009 {
0010 public:
0011     explicit NearestNeighborInterpolation( ReadOnlyMapImage * const mapImage = nullptr );
0012 
0013     QRgb interpolate( double const x, double const y ) override;
0014 };
0015 
0016 #endif