Salome HOME
Remapper: missing error message in InterpPlanar
[tools/medcoupling.git] / src / INTERP_KERNEL / InterpolationPlanar.txx
index b8bfca1fac3866a835595fdaba62dba9b8559db9..b6ff71effe0040a363c879a98bd2f77a74c42432 100644 (file)
@@ -315,6 +315,8 @@ namespace INTERP_KERNEL
                                                                                                     InterpolationOptions::getPrecision(),
                                                                                                     InterpolationOptions::getOrientation());
             break;
+          default:
+            throw INTERP_KERNEL::Exception("For P1P0 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator, BarycentricGeo2D or Barycentric!");
           }
       }
     else if(meth=="P1P1")