X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FINTERP_KERNEL%2FInterpolation3D2D.txx;h=29d9ec2ae25884908b8900b558ec891cafc2228f;hb=763f2e1bec10e0f50989731b273a09214500e844;hp=674317e1af0327042fc94f17fe5744b07cd8e907;hpb=56fddf07c0b7170f79791d38e2b909a8a5b0b872;p=tools%2Fmedcoupling.git diff --git a/src/INTERP_KERNEL/Interpolation3D2D.txx b/src/INTERP_KERNEL/Interpolation3D2D.txx index 674317e1a..29d9ec2ae 100644 --- a/src/INTERP_KERNEL/Interpolation3D2D.txx +++ b/src/INTERP_KERNEL/Interpolation3D2D.txx @@ -54,8 +54,8 @@ namespace INTERP_KERNEL * the indexing is more natural : the intersection volume of the target element i with source element j is found at matrix[i-1][j]. * - * @param srcMesh 3-dimensional source mesh - * @param targetMesh 3-dimesional target mesh, containing only tetraedra + * @param srcMesh 3DSurf source mesh (meshDim=2,spaceDim=3) + * @param targetMesh 3D target mesh, containing only tetraedra * @param matrix matrix in which the result is stored * */ @@ -99,8 +99,8 @@ namespace INTERP_KERNEL intersectFaces, getSplittingPolicy()); break; - case PointLocator: - intersector=new PointLocator3DIntersectorP0P0(targetMesh,srcMesh,getPrecision()); + case PointLocator:// switch target and source + intersector=new PointLocator3DIntersectorP0P0(srcMesh,targetMesh,getPrecision()); break; default: throw INTERP_KERNEL::Exception("Invalid 3D to 2D intersection type for P0P0 interp specified : must be Triangulation or PointLocator.");