Quantum GIS API Documentation
1.8
|
This is an interface for interpolator classes for triangulations. More...
#include <TriangleInterpolator.h>
Public Member Functions | |
virtual | ~TriangleInterpolator () |
virtual bool | calcNormVec (double x, double y, Vector3D *result)=0 |
Calculates the normal vector and assigns it to vec. | |
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. |
This is an interface for interpolator classes for triangulations.
Definition at line 24 of file TriangleInterpolator.h.
virtual TriangleInterpolator::~TriangleInterpolator | ( | ) | [inline, virtual] |
Definition at line 27 of file TriangleInterpolator.h.
virtual bool TriangleInterpolator::calcNormVec | ( | double | x, |
double | y, | ||
Vector3D * | result | ||
) | [pure virtual] |
Calculates the normal vector and assigns it to vec.
Implemented in CloughTocherInterpolator, and LinTriangleInterpolator.
virtual bool TriangleInterpolator::calcPoint | ( | double | x, |
double | y, | ||
Point3D * | result | ||
) | [pure virtual] |
Performs a linear interpolation in a triangle and assigns the x-,y- and z-coordinates to point.
Implemented in CloughTocherInterpolator, and LinTriangleInterpolator.
Referenced by QgsTINInterpolator::interpolatePoint().