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 );
This is an implementation of a Clough-Tocher interpolator based on a triangular tessellation.
CloughTocherInterpolator()=default
Decorator class which adds the functionality of estimating normals at the data points.
Point geometry type, with support for z-dimension and m-values.
This is an interface for interpolator classes for triangulations.
virtual bool calcNormVec(double x, double y, QgsPoint &result)=0
Calculates the normal vector and assigns it to vec.
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.