]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
Warning hunting.
authorageay <ageay>
Tue, 29 Oct 2013 11:01:28 +0000 (11:01 +0000)
committerageay <ageay>
Tue, 29 Oct 2013 11:01:28 +0000 (11:01 +0000)
src/INTERP_KERNEL/InterpolationPlanar.txx

index 92aa07407cd52af807f247c8eee5512ad596eb21..62568cab03a8af7157bcace183ca2a985b93d24d 100644 (file)
@@ -190,6 +190,8 @@ namespace INTERP_KERNEL
                                                                                                    InterpolationOptions::getPrecision(),
                                                                                                    InterpolationOptions::getOrientation());
             break;
+          default:
+            throw INTERP_KERNEL::Exception("For P0P0 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator !");
           }
       }
     else if(meth=="P0P1")
@@ -227,6 +229,8 @@ namespace INTERP_KERNEL
                                                                            InterpolationOptions::getPrecision(),
                                                                            InterpolationOptions::getOrientation());
             break;
+          default:
+            throw INTERP_KERNEL::Exception("For P0P1 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator !");
           }
       }
     else if(meth=="P1P0")
@@ -316,6 +320,8 @@ namespace INTERP_KERNEL
                                                                            InterpolationOptions::getPrecision(),
                                                                            InterpolationOptions::getOrientation());
             break;
+          default:
+            throw INTERP_KERNEL::Exception("For P1P1 planar interpolation possibities are : Triangulation, Convex, Geometric2D, PointLocator !");
           }
       }
     else