QGIS API Documentation
3.99.0-Master (2fe06baccd8)
Loading...
Searching...
No Matches
src
core
raster
qgsraster.h
Go to the documentation of this file.
1
/***************************************************************************
2
qgsraster.h - Raster namespace
3
--------------------------------------
4
Date : Apr 2013
5
Copyright : (C) 2013 by Radim Blazek
6
email : radim dot blazek at gmail dot com
7
***************************************************************************/
8
9
/***************************************************************************
10
* *
11
* This program is free software; you can redistribute it and/or modify *
12
* it under the terms of the GNU General Public License as published by *
13
* the Free Software Foundation; either version 2 of the License, or *
14
* (at your option) any later version. *
15
* *
16
***************************************************************************/
17
18
#ifndef QGSRASTER_H
19
#define QGSRASTER_H
20
21
#include "
qgis.h
"
22
#include "qgis_core.h"
23
#include "
qgis_sip.h
"
24
25
#include <QString>
26
31
class
CORE_EXPORT
QgsRaster
32
{
33
public
:
34
42
static
bool
isRepresentableValue
(
double
value,
Qgis::DataType
dataType )
SIP_SKIP
;
43
52
static
double
representableValue
(
double
value,
Qgis::DataType
dataType );
53
};
54
55
#endif
56
57
Qgis::DataType
DataType
Raster data types.
Definition
qgis.h:372
QgsRaster
Raster namespace.
Definition
qgsraster.h:32
QgsRaster::isRepresentableValue
static bool isRepresentableValue(double value, Qgis::DataType dataType)
Check if the specified value is representable in the given data type.
Definition
qgsraster.cpp:22
QgsRaster::representableValue
static double representableValue(double value, Qgis::DataType dataType)
Gets value representable by given data type.
Definition
qgsraster.cpp:55
qgis.h
qgis_sip.h
SIP_SKIP
#define SIP_SKIP
Definition
qgis_sip.h:134
Generated on
for QGIS API Documentation by
1.15.0