0025561: OCCT can't compile with OCCT_DEBUG flag
authoraml <aml@opencascade.com>
Mon, 8 Dec 2014 06:22:35 +0000 (09:22 +0300)
committerbugmaster <bugmaster@opencascade.com>
Thu, 11 Dec 2014 13:32:09 +0000 (16:32 +0300)
Restored function "Value" with old signature used in OCCT_DEBUG block.

src/ProjLib/ProjLib_ComputeApproxOnPolarSurface.cxx

index f98cfab..911b94b 100644 (file)
@@ -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<gp_Pnt2d>& thePnt2d,
                          NCollection_Array1<gp_Pnt>&   /*thePnt*/) const