LinTriangleInterpolator class
LinTriangleInterpolator is a class which interpolates linearly on a triangulation.
Contents
Base classes
- class TriangleInterpolator
- This is an interface for interpolator classes for triangulations.
Constructors, destructors, conversion operators
- LinTriangleInterpolator() defaulted
- Default constructor.
- LinTriangleInterpolator(DualEdgeTriangulation* tin)
- Constructor with reference to a DualEdgeTriangulation object.
Public functions
- auto calcNormVec(double x, double y, Vector3D* result) -> bool override
- Calculates the normal vector and assigns it to vec.
- auto calcPoint(double x, double y, QgsPoint& result) -> bool override
- Performs a linear interpolation in a triangle and assigns the x-,y- and z-coordinates to point.
- auto getTriangulation() const -> DualEdgeTriangulation* virtual
- Returns a pointer to the current Triangulation object.
- void setTriangulation(DualEdgeTriangulation* tin) virtual
- Sets a Triangulation.
Protected functions
- auto calcFirstDerX(double x, double y, Vector3D* result) -> bool virtual
- Calculates the first derivative with respect to x for a linear surface and assigns it to vec.
- auto calcFirstDerY(double x, double y, Vector3D* result) -> bool virtual
- Calculates the first derivative with respect to y for a linear surface and assigns it to vec.