| QGIS API Documentation
    3.16.0-Hannover (43b64b13f3)
    | 
 
 
 
Go to the documentation of this file.
   17 #ifndef CLOUGHTOCHERINTERPOLATOR_H 
   18 #define CLOUGHTOCHERINTERPOLATOR_H 
   22 #include "qgis_analysis.h" 
   39     double mEdgeTolerance = 0.00001;
 
   97     void init( 
double x, 
double y );
 
   99     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.
CloughTocherInterpolator()=default
Standard constructor.
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.