QGIS/python/analysis/auto_generated/interpolation/qgsgridfilewriter.sip.in
2024-08-13 20:28:55 +10:00

52 lines
1.8 KiB
Plaintext

/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/interpolation/qgsgridfilewriter.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/
class QgsGridFileWriter
{
%Docstring(signature="appended")
A class that does interpolation to a grid and writes the results to an ascii grid.
%End
%TypeHeaderCode
#include "qgsgridfilewriter.h"
%End
public:
QgsGridFileWriter( QgsInterpolator *interpolator, const QString &outputPath, const QgsRectangle &extent, int nCols, int nRows );
%Docstring
Constructor for QgsGridFileWriter, for the specified ``interpolator``.
The ``outputPath`` argument is used to set the output file path.
The ``extent`` and ``nCols``, ``nRows`` arguments dictate the extent and size of the output raster.
%End
int writeFile( QgsFeedback *feedback = 0 );
%Docstring
Writes the grid file.
An optional ``feedback`` object can be set for progress reports and cancellation support
:return: 0 in case of success
%End
};
/************************************************************************
* This file has been generated automatically from *
* *
* src/analysis/interpolation/qgsgridfilewriter.h *
* *
* Do not edit manually ! Edit header and run scripts/sipify.py again *
************************************************************************/