]> SALOME platform Git repositories - tools/medcoupling.git/blob - src/INTERP_KERNEL/InterpolationCurve.hxx
Salome HOME
Indices are stored as mcIdType type instead of int to support switch to 64bits indexing
[tools/medcoupling.git] / src / INTERP_KERNEL / InterpolationCurve.hxx
1 // Copyright (C) 2007-2019  CEA/DEN, EDF R&D\r
2 //\r
3 // This library is free software; you can redistribute it and/or\r
4 // modify it under the terms of the GNU Lesser General Public\r
5 // License as published by the Free Software Foundation; either\r
6 // version 2.1 of the License, or (at your option) any later version.\r
7 //\r
8 // This library is distributed in the hope that it will be useful,\r
9 // but WITHOUT ANY WARRANTY; without even the implied warranty of\r
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU\r
11 // Lesser General Public License for more details.\r
12 //\r
13 // You should have received a copy of the GNU Lesser General Public\r
14 // License along with this library; if not, write to the Free Software\r
15 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA\r
16 //\r
17 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com\r
18 //\r
19 // Author : Anthony Geay (CEA/DEN)\r
20 \r
21 #ifndef __INTERPOLATIONCURVE_HXX__\r
22 #define __INTERPOLATIONCURVE_HXX__\r
23 \r
24 #include "Interpolation.hxx"\r
25 #include "InterpolationOptions.hxx"\r
26 \r
27 namespace INTERP_KERNEL\r
28 {\r
29   template<class RealCurve>\r
30   class InterpolationCurve : public Interpolation< InterpolationCurve<RealCurve> >\r
31   {\r
32   public:\r
33     InterpolationCurve();\r
34     InterpolationCurve(const InterpolationOptions & io);\r
35 \r
36     // Main function to interpolate\r
37     template<class MyMeshType, class MatrixType>\r
38     typename MyMeshType::MyConnType interpolateMeshes(const MyMeshType& meshS, const MyMeshType& meshT,\r
39                           MatrixType& result, const std::string& method);\r
40     \r
41   };\r
42 }\r
43 \r
44 #endif\r