QGIS API Documentation  2.6.0-Brighton
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
TriangleInterpolator Class Reference

This is an interface for interpolator classes for triangulations. More...

#include <TriangleInterpolator.h>

Inheritance diagram for TriangleInterpolator:
Inheritance graph
[legend]

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.

Detailed Description

This is an interface for interpolator classes for triangulations.

Constructor & Destructor Documentation

virtual TriangleInterpolator::~TriangleInterpolator ( )
inlinevirtual

Member Function Documentation

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.


The documentation for this class was generated from the following file: