Salome HOME
Deal with pipes
[tools/medcoupling.git] / src / INTERP_KERNEL / InterpolationPlanar.hxx
old mode 100755 (executable)
new mode 100644 (file)
index c30cd81..f56496e
@@ -1,9 +1,9 @@
-// Copyright (C) 2007-2012  CEA/DEN, EDF R&D
+// Copyright (C) 2007-2016  CEA/DEN, EDF R&D
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
 // License as published by the Free Software Foundation; either
-// version 2.1 of the License.
+// version 2.1 of the License, or (at your option) any later version.
 //
 // This library is distributed in the hope that it will be useful,
 // but WITHOUT ANY WARRANTY; without even the implied warranty of
@@ -16,6 +16,7 @@
 //
 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
 //
+// Author : Anthony Geay (CEA/DEN)
 
 #ifndef __INTERPOLATIONPLANAR_HXX__
 #define __INTERPOLATIONPLANAR_HXX__
@@ -36,13 +37,13 @@ namespace INTERP_KERNEL
     InterpolationPlanar();
     InterpolationPlanar(const InterpolationOptions & io);
 
-    // geometric precision, debug print level, coice of the median plane, intersection etc ...
+    // geometric precision, debug print level, choice of the median plane, intersection etc ...
     void setOptions(double precision, int printLevel,
                     IntersectionType intersectionType, int orientation=0);
     
     // Main function to interpolate triangular and quadratic meshes
     template<class MyMeshType, class MatrixType>
-    int interpolateMeshes(const MyMeshType& meshS, const MyMeshType& meshT, MatrixType& result, const char *method);
+    int interpolateMeshes(const MyMeshType& meshS, const MyMeshType& meshT, MatrixType& result, const std::string& method);
   public:
     bool doRotate() const { return asLeafInterpPlanar().doRotate(); }
     double medianPlane() const { return asLeafInterpPlanar().medianPlane(); }