From ec7ed71c1832a76917d9bf3bc3234bd021fd8871 Mon Sep 17 00:00:00 2001 From: nbv Date: Fri, 13 Nov 2015 14:49:25 +0300 Subject: [PATCH] Current MASTER is not built if OCCT_DEBUG macros is enabled --- src/Geom2dGcc/Geom2dGcc_Circ2d2TanRadGeo.cxx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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()) { -- 2.39.5