QgsTotalCurvatureFilter class
Calculates total curvature as described by Wilson, Gallant (2000): terrain analysis.
Contents
- Reference
Base classes
- class QgsNineCellFilter
- Base class for raster analysis methods that work with a 3x3 cell filter and calculate the value of each cell based on the cell value and the eight neighbour cells.
Protected functions
- auto processNineCellWindow(float* x11, float* x21, float* x31, float* x12, float* x22, float* x32, float* x13, float* x23, float* x33) -> float override
- Calculates total curvature from nine input values.
Function documentation
float QgsTotalCurvatureFilter:: processNineCellWindow(float* x11,
float* x21,
float* x31,
float* x12,
float* x22,
float* x32,
float* x13,
float* x23,
float* x33) override protected
Calculates total curvature from nine input values.
The input values and the output value can be equal to the nodata value if not present or outside of the border. Must be implemented by subclasses