QGIS API Documentation  2.18.21-Las Palmas (9fba24a)
Public Member Functions | List of all members
QgsGridFileWriter Class Reference

A class that does interpolation to a grid and writes the results to an ascii grid. More...

#include <qgsgridfilewriter.h>

Public Member Functions

 QgsGridFileWriter (QgsInterpolator *i, const QString &outputPath, const QgsRectangle &extent, int nCols, int nRows, double cellSizeX, double cellSizeY)
 
int writeFile (bool showProgressDialog=false)
 Writes the grid file. More...
 

Detailed Description

A class that does interpolation to a grid and writes the results to an ascii grid.

Definition at line 30 of file qgsgridfilewriter.h.

Constructor & Destructor Documentation

◆ QgsGridFileWriter()

QgsGridFileWriter::QgsGridFileWriter ( QgsInterpolator i,
const QString outputPath,
const QgsRectangle extent,
int  nCols,
int  nRows,
double  cellSizeX,
double  cellSizeY 
)

Definition at line 25 of file qgsgridfilewriter.cpp.

Member Function Documentation

◆ writeFile()

int QgsGridFileWriter::writeFile ( bool  showProgressDialog = false)

Writes the grid file.

Parameters
showProgressDialogshows a dialog with the possibility to cancel
Returns
0 in case of success

Definition at line 47 of file qgsgridfilewriter.cpp.


The documentation for this class was generated from the following files: