]> OCCT Git - occt-copy.git/commitdiff
Correction of comment
authorjgv <jgv@opencascade.com>
Tue, 6 Aug 2013 14:13:19 +0000 (18:13 +0400)
committerjgv <jgv@opencascade.com>
Tue, 6 Aug 2013 14:13:19 +0000 (18:13 +0400)
src/Contap/Contap_ContourGen_2.gxx

index a557d4c2719936c66bf23dc55fa3a098ef73c982..07f76c5a2775031b281f1a97b61cc002402d74a0 100755 (executable)
@@ -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();