From: jfa Date: Fri, 13 Jun 2025 11:14:57 +0000 (+0100) Subject: [bos #30432] Fix intersection with edges treatment: use parameters on polygon and... X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=refs%2Fheads%2FCR790-SALOME-bos30432;p=occt.git [bos #30432] Fix intersection with edges treatment: use parameters on polygon and on triangle's edge --- diff --git a/src/Intf/Intf_InterferencePolygonPolyhedron.gxx b/src/Intf/Intf_InterferencePolygonPolyhedron.gxx index 1e909d6989..1b1736a59e 100644 --- a/src/Intf/Intf_InterferencePolygonPolyhedron.gxx +++ b/src/Intf/Intf_InterferencePolygonPolyhedron.gxx @@ -1010,7 +1010,7 @@ void Intf_InterferencePolygonPolyhedron::Intersect if(IsInSegment(VecPol,gp_Vec(BegO,PO),NVecPol,ParamOnO,Tolerance)) { if(IsInSegment(VecTri,gp_Vec(BegT,PT),NVecTri,ParamOnT,Tolerance)) { //-- cout<<" * "<pTri_ip1pc3) { tmin=pTri_ip1pc3; tmax=pTri_i; @@ -1022,7 +1022,7 @@ void Intf_InterferencePolygonPolyhedron::Intersect typOnG, 0, iLin, ParamOnO, Intf_EDGE, tmin, - tmax, 0., + tmax, ParamOnT, 1.); mySPoins.Append(SP); }