From 31575448ff0532c6a0c4a5793cb32bcbc23645d3 Mon Sep 17 00:00:00 2001 From: jfa Date: Fri, 13 Jun 2025 12:14:57 +0100 Subject: [PATCH] [bos #30432] Fix intersection with edges treatment: use parameters on polygon and on triangle's edge --- src/Intf/Intf_InterferencePolygonPolyhedron.gxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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); } -- 2.39.5