From fa0f5a5558341be19b4722c22873aac55165c853 Mon Sep 17 00:00:00 2001 From: aml Date: Mon, 8 Dec 2014 09:22:35 +0300 Subject: [PATCH] 0025561: OCCT can't compile with OCCT_DEBUG flag Restored function "Value" with old signature used in OCCT_DEBUG block. --- src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx index f98cfab42c..911b94b563 100644 --- a/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx +++ b/src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx @@ -325,6 +325,12 @@ class ProjLib_PolarFunction : public AppCont_Function return myCurve->LastParameter(); } + gp_Pnt2d Value(const Standard_Real t) const + { + return Function_Value + (t,mySurface,myCurve,myInitialCurve2d,myDistTol3d,myTolU,myTolV); + } + Standard_Boolean Value(const Standard_Real theT, NCollection_Array1& thePnt2d, NCollection_Array1& /*thePnt*/) const -- 2.39.5