QGIS/python/core/auto_generated/raster/qgsrasterrange.sip.in

79 lines
2.0 KiB
Plaintext
Raw Normal View History

2017-06-02 23:35:10 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsrasterrange.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
typedef QList<QgsRasterRange> QgsRasterRangeList;
class QgsRasterRange
{
2017-06-02 23:35:10 +02:00
%Docstring
2017-12-15 10:36:55 -04:00
Raster values range container. Represents range of values between min and max
including min and max value.
%End
2017-06-02 23:35:10 +02:00
%TypeHeaderCode
#include "qgsrasterrange.h"
%End
public:
2017-06-02 23:35:10 +02:00
QgsRasterRange();
2017-06-02 23:35:10 +02:00
%Docstring
2018-06-07 10:03:54 +10:00
Default constructor, both min and max value for the range will be set to NaN.
2017-06-02 23:35:10 +02:00
%End
QgsRasterRange( double min, double max );
2017-06-02 23:35:10 +02:00
%Docstring
2018-06-07 10:03:54 +10:00
Constructor for a range with the given ``min`` and ``max`` values.
2017-06-02 23:35:10 +02:00
%End
double min() const;
2018-06-07 10:03:54 +10:00
%Docstring
Returns the minimum value for the range.
.. seealso:: :py:func:`setMin`
%End
double max() const;
2018-06-07 10:03:54 +10:00
%Docstring
Returns the maximum value for the range.
.. seealso:: :py:func:`setMax`
%End
double setMin( double min );
2018-06-07 10:03:54 +10:00
%Docstring
Sets the minimum value for the range.
.. seealso:: :py:func:`min`
%End
double setMax( double max );
2018-06-07 10:03:54 +10:00
%Docstring
Sets the maximum value for the range.
.. seealso:: :py:func:`max`
%End
bool operator==( QgsRasterRange o ) const;
2017-06-02 23:35:10 +02:00
};
2017-06-02 23:35:10 +02:00
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/raster/qgsrasterrange.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/