From: abn Date: Tue, 10 May 2016 07:24:07 +0000 (+0200) Subject: Remapper: missing error message in InterpPlanar X-Git-Tag: V7_8_0rc1~7 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=36fc207316408984c3034681e9695fef8967cfa5;p=tools%2Fmedcoupling.git Remapper: missing error message in InterpPlanar --- diff --git a/src/INTERP_KERNEL/InterpolationPlanar.txx b/src/INTERP_KERNEL/InterpolationPlanar.txx index b8bfca1fa..b6ff71eff 100644 --- a/src/INTERP_KERNEL/InterpolationPlanar.txx +++ b/src/INTERP_KERNEL/InterpolationPlanar.txx @@ -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")