LinTriangleInterpolator is a class which interpolates linearly on a triangulation.
More...
#include <LinTriangleInterpolator.h>
|
| LinTriangleInterpolator ()=default |
| Default constructor. More...
|
|
| LinTriangleInterpolator (QgsDualEdgeTriangulation *tin) |
| Constructor with reference to a DualEdgeTriangulation object. More...
|
|
bool | calcNormVec (double x, double y, QgsPoint &result) override |
| Calculates the normal vector and assigns it to vec. More...
|
|
bool | calcPoint (double x, double y, QgsPoint &result) override |
| Performs a linear interpolation in a triangle and assigns the x-,y- and z-coordinates to point. More...
|
|
virtual QgsDualEdgeTriangulation * | getTriangulation () const |
| Returns a pointer to the current Triangulation object. More...
|
|
virtual void | setTriangulation (QgsDualEdgeTriangulation *tin) |
| Sets a Triangulation. More...
|
|
virtual | ~TriangleInterpolator ()=default |
|
virtual bool | calcNormVec (double x, double y, QgsPoint &result)=0 |
| Calculates the normal vector and assigns it to vec. More...
|
|
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. More...
|
|
|
virtual bool | calcFirstDerX (double x, double y, Vector3D *result) |
| Calculates the first derivative with respect to x for a linear surface and assigns it to vec. More...
|
|
virtual bool | calcFirstDerY (double x, double y, Vector3D *result) |
| Calculates the first derivative with respect to y for a linear surface and assigns it to vec. More...
|
|
LinTriangleInterpolator is a class which interpolates linearly on a triangulation.
- Note
- Not available in Python bindings.
Definition at line 31 of file LinTriangleInterpolator.h.
◆ LinTriangleInterpolator() [1/2]
LinTriangleInterpolator::LinTriangleInterpolator |
( |
| ) |
|
|
default |
◆ LinTriangleInterpolator() [2/2]
◆ calcFirstDerX()
bool LinTriangleInterpolator::calcFirstDerX |
( |
double |
x, |
|
|
double |
y, |
|
|
Vector3D * |
result |
|
) |
| |
|
protectedvirtual |
Calculates the first derivative with respect to x for a linear surface and assigns it to vec.
Definition at line 20 of file LinTriangleInterpolator.cpp.
◆ calcFirstDerY()
bool LinTriangleInterpolator::calcFirstDerY |
( |
double |
x, |
|
|
double |
y, |
|
|
Vector3D * |
result |
|
) |
| |
|
protectedvirtual |
Calculates the first derivative with respect to y for a linear surface and assigns it to vec.
Definition at line 47 of file LinTriangleInterpolator.cpp.
◆ calcNormVec()
bool LinTriangleInterpolator::calcNormVec |
( |
double |
x, |
|
|
double |
y, |
|
|
QgsPoint & |
result |
|
) |
| |
|
overridevirtual |
◆ calcPoint()
bool LinTriangleInterpolator::calcPoint |
( |
double |
x, |
|
|
double |
y, |
|
|
QgsPoint & |
result |
|
) |
| |
|
overridevirtual |
◆ getTriangulation()
◆ setTriangulation()
◆ mTIN
The documentation for this class was generated from the following files: