QGIS API Documentation
3.26.3-Buenos Aires (65e4edfdad)
|
Go to the documentation of this file.
17 #ifndef CLOUGHTOCHERINTERPOLATOR_H
18 #define CLOUGHTOCHERINTERPOLATOR_H
22 #include "qgis_analysis.h"
41 double mEdgeTolerance = 0.00001;
99 void init(
double x,
double y );
101 double calcBernsteinPoly(
int n,
int i,
int j,
int k,
double u,
double v,
double w );
Point geometry type, with support for z-dimension and m-values.
This is an implementation of a Clough-Tocher interpolator based on a triangular tessellation.
virtual bool calcPoint(double x, double y, QgsPoint &result)=0
Performs a linear interpolation in a triangle and assigns the x-,y- and z-coordinates to point.
virtual bool calcNormVec(double x, double y, QgsPoint &result)=0
Calculates the normal vector and assigns it to vec.
double ANALYSIS_EXPORT calcBernsteinPoly(int n, int i, double t)
Calculates the value of a Bernstein polynomial.
Decorator class which adds the functionality of estimating normals at the data points.
This is an interface for interpolator classes for triangulations.