QGIS API Documentation  2.7.0-Master
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
TriangleInterpolator.h
Go to the documentation of this file.
1 /***************************************************************************
2  TriangleInterpolator.h - description
3  -------------------
4  copyright : (C) 2004 by Marco Hugentobler
5  email : mhugent@geo.unizh.ch
6  ***************************************************************************/
7 
8 /***************************************************************************
9  * *
10  * This program is free software; you can redistribute it and/or modify *
11  * it under the terms of the GNU General Public License as published by *
12  * the Free Software Foundation; either version 2 of the License, or *
13  * (at your option) any later version. *
14  * *
15  ***************************************************************************/
16 
17 #ifndef TINTERPOLATOR_H
18 #define TINTERPOLATOR_H
19 
20 #include <Point3D.h>
21 #include <Vector3D.h>
22 
24 class ANALYSIS_EXPORT TriangleInterpolator
25 {
26  public:
27  virtual ~TriangleInterpolator() {}
29  virtual bool calcNormVec( double x, double y, Vector3D* result ) = 0;
31  virtual bool calcPoint( double x, double y, Point3D* result ) = 0;
32 };
33 
34 #endif
35 
36 
37 
38 
39 
40 
41 
42 
Point3D is a class to represent a three dimensional point.
Definition: Point3D.h:23
Class Vector3D represents a 3D-Vector, capable to store x-,y- and z-coordinates in double values...
Definition: Vector3D.h:22
This is an interface for interpolator classes for triangulations.