2017-06-22 20:25:19 +02:00
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/analysis/interpolation/TriangleInterpolator.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
class TriangleInterpolator
|
|
|
|
{
|
2017-06-22 20:25:19 +02:00
|
|
|
%Docstring
|
|
|
|
This is an interface for interpolator classes for triangulations*
|
|
|
|
%End
|
|
|
|
|
2012-09-24 02:28:15 +02:00
|
|
|
%TypeHeaderCode
|
2017-06-22 20:25:19 +02:00
|
|
|
#include "TriangleInterpolator.h"
|
2012-09-24 02:28:15 +02:00
|
|
|
%End
|
|
|
|
public:
|
|
|
|
virtual ~TriangleInterpolator();
|
2017-06-22 20:25:19 +02:00
|
|
|
virtual bool calcNormVec( double x, double y, Vector3D *result /Out/ ) = 0;
|
|
|
|
%Docstring
|
|
|
|
Calculates the normal vector and assigns it to vec
|
|
|
|
:rtype: bool
|
|
|
|
%End
|
|
|
|
virtual bool calcPoint( double x, double y, QgsPoint *result /Out/ ) = 0;
|
|
|
|
%Docstring
|
|
|
|
Performs a linear interpolation in a triangle and assigns the x-,y- and z-coordinates to point
|
|
|
|
:rtype: bool
|
|
|
|
%End
|
2012-09-24 02:28:15 +02:00
|
|
|
};
|
2017-06-22 20:25:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/************************************************************************
|
|
|
|
* This file has been generated automatically from *
|
|
|
|
* *
|
|
|
|
* src/analysis/interpolation/TriangleInterpolator.h *
|
|
|
|
* *
|
|
|
|
* Do not edit manually ! Edit header and run scripts/sipify.pl again *
|
|
|
|
************************************************************************/
|