From e00087ccd80187722c2a46eeb7df85d9dd4a523f Mon Sep 17 00:00:00 2001 From: jgv Date: Tue, 6 Aug 2013 18:13:19 +0400 Subject: [PATCH] Correction of comment --- src/Contap/Contap_ContourGen_2.gxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Contap/Contap_ContourGen_2.gxx b/src/Contap/Contap_ContourGen_2.gxx index a557d4c271..07f76c5a27 100755 --- a/src/Contap/Contap_ContourGen_2.gxx +++ b/src/Contap/Contap_ContourGen_2.gxx @@ -389,7 +389,8 @@ static void ComputeTangency (const Contap_TheSearch& solrst, theparam = PStart.Parameter(); gp_Pnt2d Ptoproj=TheArcTool::Value(thearc,theparam); - //jgv: purge of bad points (points that are out of domain) + //jgv: for the issue 24103 to exclude points that are not same parameter: + //these points can be out of the surface's domain and lead to failure of Walking algorithm. gp_Pnt PointFromSurf = TheSurfaceTool::Value(Surf, Ptoproj.X(), Ptoproj.Y()); Handle(BRepAdaptor_HCurve2d) brhc = Handle(BRepAdaptor_HCurve2d)::DownCast(thearc); TopoDS_Edge theedge = ((BRepAdaptor_Curve2d *)&(brhc->Curve2d()))->Edge(); -- 2.39.5