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 );
Decorator class which adds the functionality of estimating normals at the data points.
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values...
This is an interface for interpolator classes for triangulations.
virtual bool calcPoint(double x, double y, QgsPoint &result SIP_OUT)=0
Performs a linear interpolation in a triangle and assigns the x-,y- and z-coordinates to point...
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.
double ANALYSIS_EXPORT calcBernsteinPoly(int n, int i, double t)
Calculates the value of a Bernstein polynomial.
virtual bool calcNormVec(double x, double y, Vector3D *result SIP_OUT)=0
Calculates the normal vector and assigns it to vec.