17 #ifndef CLOUGHTOCHERINTERPOLATOR_H
18 #define CLOUGHTOCHERINTERPOLATOR_H
76 void init(
double x,
double y );
78 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.
double der2Y
derivative in y-direction at point2
Point3D point3
third point of the triangle in x-,y-,z-coordinates
double der3X
derivative in x-direction at point3
Point3D is a class to represent a three dimensional point.
Point3D lpoint2
stores point2 of the last run
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values...
Point3D point1
first point of the triangle in x-,y-,z-coordinates
This is an interface for interpolator classes for triangulations.
double der1X
derivative in x-direction at point1
double der3Y
derivative in y-direction at point3
virtual bool calcNormVec(double x, double y, Vector3D *result)=0
Calculates the normal vector and assigns it to vec.
Point3D point2
second point of the triangle in x-,y-,z-coordinates
This is an implementation of a Clough-Tocher interpolator based on a triangular tessellation.
virtual bool calcPoint(double x, double y, Point3D *result)=0
Performs a linear interpolation in a triangle and assigns the x-,y- and z-coordinates to point...
Point3D lpoint1
stores point1 of the last run
double ANALYSIS_EXPORT calcBernsteinPoly(int n, int i, double t)
calculates the value of a Bernstein polynomial
double der1Y
derivative in y-direction at point1
double mEdgeTolerance
Tolerance of the barycentric coordinates at the borders of the triangles (to prevent errors because o...
double der2X
derivative in x-direction at point2
Point3D lpoint3
stores point3 of the last run
NormVecDecorator * mTIN
association with a triangulation object