1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-19 13:40:49 +03:00

Correction of comment

This commit is contained in:
jgv
2013-08-06 18:13:19 +04:00
parent 6ccc9c06eb
commit e00087ccd8

View File

@@ -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();