From: nbv Date: Fri, 13 Nov 2015 11:49:25 +0000 (+0300) Subject: Current MASTER is not built if OCCT_DEBUG macros is enabled X-Git-Tag: V7_0_0_beta~127 X-Git-Url: http://git.dev.opencascade.org/gitweb/?a=commitdiff_plain;h=ec7ed71c1832a76917d9bf3bc3234bd021fd8871;p=occt.git Current MASTER is not built if OCCT_DEBUG macros is enabled --- diff --git a/src/Geom2dGcc/Geom2dGcc_Circ2d2TanRadGeo.cxx b/src/Geom2dGcc/Geom2dGcc_Circ2d2TanRadGeo.cxx index 529157bb0f..853f75c9de 100644 --- a/src/Geom2dGcc/Geom2dGcc_Circ2d2TanRadGeo.cxx +++ b/src/Geom2dGcc/Geom2dGcc_Circ2d2TanRadGeo.cxx @@ -836,8 +836,8 @@ pararg2(1,aNbSolMAX) #ifdef OCCT_DEBUG Standard_Real firstparam = Max(C1.FirstParameter(), thefirst); Standard_Real lastparam = Min(C1.LastParameter(), thelast); - IntRes2d_Domain D2C1(Geom2dGcc_CurveToolGeo::Value(C1,firstparam),firstparam,Tol, - Geom2dGcc_CurveToolGeo::Value(C1,lastparam),lastparam,Tol); + IntRes2d_Domain D2C1(C1.Value(firstparam),firstparam,Tol, + C1.Value(lastparam),lastparam,Tol); #endif for (Standard_Integer jcote2 = 1 ; jcote2 <= nbrcote2 ; jcote2++) { Handle(Geom2dAdaptor_HCurve) HCu2 = new Geom2dAdaptor_HCurve(Cu2); @@ -845,8 +845,8 @@ pararg2(1,aNbSolMAX) #ifdef OCCT_DEBUG firstparam = Max(C2.FirstParameter(), thefirst); lastparam = Min(C2.LastParameter(),thelast); - IntRes2d_Domain D2C2(Geom2dGcc_CurveToolGeo::Value(C2,firstparam),firstparam,Tol, - Geom2dGcc_CurveToolGeo::Value(C2,lastparam),lastparam,Tol); + IntRes2d_Domain D2C2(C2.Value(firstparam),firstparam,Tol, + C2.Value(lastparam),lastparam,Tol); #endif Intp.Perform(C1,C2,Tol,Tol); if (Intp.IsDone()) {