X-Git-Url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=blobdiff_plain;f=src%2FIntTools%2FIntTools_Tools.cxx;h=f00026c8165f65cfbcc46363cf473d1ca309a128;hp=86c61df77e18770078167059f459dc96bc77776c;hb=5adae760bffb0c28bf43274af572e0d68f579f70;hpb=7e17e8f08df2f3db0424c991b990c9f5c298bda8 diff --git a/src/IntTools/IntTools_Tools.cxx b/src/IntTools/IntTools_Tools.cxx index 86c61df77e..f00026c816 100644 --- a/src/IntTools/IntTools_Tools.cxx +++ b/src/IntTools/IntTools_Tools.cxx @@ -789,10 +789,10 @@ Standard_Boolean IntTools_Tools::ComputeTolerance Standard_Real& theMaxDist, Standard_Real& theMaxPar) { - BRepLib_CheckCurveOnSurface aCS; + GeomLib_CheckCurveOnSurface aCS; // - aCS.Init(theCurve3D, theCurve2D, theSurf, theFirst, theLast); - aCS.Perform(); + aCS.Init(theCurve3D, theSurf, theFirst, theLast); + aCS.Perform(theCurve2D); if (!aCS.IsDone()) { return Standard_False; }