File tree 2 files changed +10
-2
lines changed
python/core/auto_generated/raster
2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -64,6 +64,15 @@ Sets the maximum value for the range.
64
64
65
65
bool operator==( QgsRasterRange o ) const;
66
66
67
+ static bool contains( double value, const QgsRasterRangeList &rangeList );
68
+ %Docstring
69
+ Tests if a ``value`` is within the list of ranges
70
+
71
+ :param value: value
72
+ :param rangeList: list of ranges
73
+
74
+ :return: true if value is in at least one of ranges
75
+ %End
67
76
68
77
};
69
78
Original file line number Diff line number Diff line change @@ -80,9 +80,8 @@ class CORE_EXPORT QgsRasterRange
80
80
* \param value value
81
81
* \param rangeList list of ranges
82
82
* \returns true if value is in at least one of ranges
83
- * \note not available in Python bindings
84
83
*/
85
- static bool contains ( double value, const QgsRasterRangeList &rangeList ) SIP_SKIP ;
84
+ static bool contains ( double value, const QgsRasterRangeList &rangeList );
86
85
87
86
private:
88
87
double mMin = std::numeric_limits<double >::quiet_NaN();
You can’t perform that action at this time.
0 commit comments