@@ -46,22 +46,22 @@ class ANALYSIS_EXPORT QgsReclassifyUtils
46
46
*/
47
47
class RasterClass : public QgsRasterRange
48
48
{
49
- public:
49
+ public:
50
50
51
51
// ! Default constructor for an empty class
52
- RasterClass () = default ;
53
-
54
- /* *
55
- * Constructor for RasterClass, with the specified range of min to max values.
56
- * The \a value argument gives the desired output value for this raster class.
57
- */
58
- RasterClass ( double minValue, double maxValue, QgsRasterRange::BoundsType type, double value )
59
- : QgsRasterRange( minValue, maxValue, type )
60
- , value( value )
61
- {}
62
-
63
- // ! Desired output value for class
64
- double value = 0 ;
52
+ RasterClass () = default ;
53
+
54
+ /* *
55
+ * Constructor for RasterClass, with the specified range of min to max values.
56
+ * The \a value argument gives the desired output value for this raster class.
57
+ */
58
+ RasterClass ( double minValue, double maxValue, QgsRasterRange::BoundsType type, double value )
59
+ : QgsRasterRange( minValue, maxValue, type )
60
+ , value( value )
61
+ {}
62
+
63
+ // ! Desired output value for class
64
+ double value = 0 ;
65
65
};
66
66
67
67
/* *
@@ -85,15 +85,15 @@ class ANALYSIS_EXPORT QgsReclassifyUtils
85
85
* The \a feedback argument gives an optional processing feedback, for progress reports
86
86
* and cancelation.
87
87
*/
88
- static void reclassify (const QVector< RasterClass > &classes,
89
- QgsRasterInterface *sourceRaster,
90
- int band,
91
- const QgsRectangle& extent,
92
- int sourceWidthPixels,
93
- int sourceHeightPixels,
94
- QgsRasterDataProvider *destinationRaster,
95
- double destNoDataValue, bool useNoDataForMissingValues,
96
- QgsProcessingFeedback *feedback = nullptr );
88
+ static void reclassify ( const QVector< RasterClass > &classes,
89
+ QgsRasterInterface *sourceRaster,
90
+ int band,
91
+ const QgsRectangle & extent,
92
+ int sourceWidthPixels,
93
+ int sourceHeightPixels,
94
+ QgsRasterDataProvider *destinationRaster,
95
+ double destNoDataValue, bool useNoDataForMissingValues,
96
+ QgsProcessingFeedback *feedback = nullptr );
97
97
98
98
/* *
99
99
* Reclassifies a single \a input value, using the specified list of \a classes.
@@ -104,7 +104,7 @@ class ANALYSIS_EXPORT QgsReclassifyUtils
104
104
* If no matching class was found then \a reclassified will be set to false, and the
105
105
* original \a input value returned unchanged.
106
106
*/
107
- static double reclassifyValue ( const QVector< RasterClass > &classes, double input, bool & reclassified );
107
+ static double reclassifyValue ( const QVector< RasterClass > &classes, double input, bool & reclassified );
108
108
109
109
};
110
110
0 commit comments