QGIS API Documentation
3.16.0-Hannover (43b64b13f3)
|
Go to the documentation of this file.
17 #ifndef LINTRIANGLEINTERPOLATOR_H
18 #define LINTRIANGLEINTERPOLATOR_H
22 #include "qgis_analysis.h"
50 virtual bool calcFirstDerX(
double x,
double y,
Vector3D *result
SIP_OUT );
52 virtual bool calcFirstDerY(
double x,
double y,
Vector3D *result
SIP_OUT );
Point geometry type, with support for z-dimension and m-values.
QgsDualEdgeTriangulation * mTIN
virtual QgsDualEdgeTriangulation * getTriangulation() const
Returns a pointer to the current Triangulation object.
LinTriangleInterpolator is a class which interpolates linearly on a triangulation.
LinTriangleInterpolator()=default
Default constructor.
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.
virtual void setTriangulation(QgsDualEdgeTriangulation *tin)
Sets a Triangulation.
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values.
DualEdgeTriangulation is an implementation of a triangulation class based on the dual edge data struc...
This is an interface for interpolator classes for triangulations.