Quantum GIS API Documentation
1.7.4
|
00001 /*************************************************************************** 00002 TriangleInterpolator.h - description 00003 ------------------- 00004 copyright : (C) 2004 by Marco Hugentobler 00005 email : mhugent@geo.unizh.ch 00006 ***************************************************************************/ 00007 00008 /*************************************************************************** 00009 * * 00010 * This program is free software; you can redistribute it and/or modify * 00011 * it under the terms of the GNU General Public License as published by * 00012 * the Free Software Foundation; either version 2 of the License, or * 00013 * (at your option) any later version. * 00014 * * 00015 ***************************************************************************/ 00016 00017 #ifndef TINTERPOLATOR_H 00018 #define TINTERPOLATOR_H 00019 00020 #include <Point3D.h> 00021 #include <Vector3D.h> 00022 00024 class ANALYSIS_EXPORT TriangleInterpolator 00025 { 00026 public: 00027 virtual ~TriangleInterpolator() {} 00029 virtual bool calcNormVec( double x, double y, Vector3D* result ) = 0; 00031 virtual bool calcPoint( double x, double y, Point3D* result ) = 0; 00032 }; 00033 00034 #endif 00035 00036 00037 00038 00039 00040 00041 00042