Skip to content

Commit e79f6d1

Browse files
committedAug 8, 2018
Fix documentation for ninecell filters
1 parent 14f8c43 commit e79f6d1

File tree

2 files changed

+23
-2
lines changed

2 files changed

+23
-2
lines changed
 

‎python/analysis/auto_generated/raster/qgsninecellfilter.sip.in

Lines changed: 19 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ Starts the calculation, reads from mInputFile and stores the result in mOutputFi
3636
:param feedback: feedback object that receives update and that is checked for cancelation.
3737

3838
:return: 0 in case of success
39+
<<<<<<< 14f8c4361dc1f4103bed735a5cf46b38dcfa4a03
3940
<<<<<<< 528302cc8952497513b44423dfca6fcf4857760c
4041
<<<<<<< d6e747ca57807318c0b3f6be8266f0b43c0f7747
4142
TODO: return an enum
@@ -45,6 +46,8 @@ TODO: return an enum
4546
=======
4647
TODO: return an enum
4748
>>>>>>> Bindings for 9cell filter
49+
=======
50+
>>>>>>> Fix documentation for ninecell filters
4851
%End
4952

5053
double cellSizeX() const;
@@ -64,8 +67,22 @@ TODO: return an enum
6467
float *x12, float *x22, float *x32,
6568
float *x13, float *x23, float *x33 ) = 0;
6669
%Docstring
67-
Calculates output value from nine input values. The input values and the output value can be equal to the
68-
nodata value if not present or outside of the border. Must be implemented by subclasses*
70+
Calculates output value from nine input values. The input values and the output
71+
value can be equal to the nodata value if not present or outside of the border.
72+
Must be implemented by subclasses.
73+
74+
First index of the input cell is the row, second index is the column
75+
76+
@param x11 surrounding cell top left
77+
@param x21 surrounding cell central left
78+
@param x31 surrounding cell bottom left
79+
@param x12 surrounding cell top central
80+
@param x22 the central cell for which the value will be calculated
81+
@param x32 surrounding cell bottom central
82+
@param x13 surrounding cell top right
83+
@param x23 surrounding cell central right
84+
@param x33 surrounding cell bottom right
85+
@return the calculated cell value for the central cell x22
6986
%End
7087

7188
protected:

‎src/analysis/raster/qgsninecellfilter.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -507,6 +507,10 @@ int QgsNineCellFilter::processRasterGPU( const QString &source, QgsFeedback *fee
507507
=======
508508
>>>>>>> [opencl] Fix small OpenCL alg issues
509509

510+
<<<<<<< 14f8c4361dc1f4103bed735a5cf46b38dcfa4a03
511+
=======
512+
513+
>>>>>>> Fix documentation for ninecell filters
510514
// TODO: return an anum instead of an int
511515
int QgsNineCellFilter::processRasterCPU( QgsFeedback *feedback )
512516
{

0 commit comments

Comments
 (0)