QGIS/python/PyQt6/core/auto_generated/qgselevationutils.sip.in
Julien Cabieces bb3c36a69b Initialize sip bindings for PyQt6
use exactly the ones from PyQt5 so we can study the difference when
generating for PyQt6
2023-12-08 03:38:42 +10:00

59 lines
2.0 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgselevationutils.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/
class QgsElevationUtils
{
%Docstring(signature="appended")
Contains utility methods for working with elevation from layers and projects.
.. versionadded:: 3.18
%End
%TypeHeaderCode
#include "qgselevationutils.h"
%End
public:
static QgsDoubleRange calculateZRangeForProject( QgsProject *project );
%Docstring
Calculates the elevation range for a ``project``.
This method considers the elevation (or z) range available from layers contained within the project and
returns the maximal combined elevation range of these layers.
%End
static bool canEnableElevationForLayer( QgsMapLayer *layer );
%Docstring
Returns ``True`` if elevation can be enabled for a map ``layer``.
.. versionadded:: 3.32
%End
static bool enableElevationForLayer( QgsMapLayer *layer );
%Docstring
Automatically enables elevation for a map ``layer``, using reasonable defaults.
Returns ``True`` if the elevation was enabled successfully.
.. versionadded:: 3.32
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/core/qgselevationutils.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
************************************************************************/