0024682: Move out B-spline cache from curves and surfaces to dedicated classes BSplCL...
[occt.git] / src / BSplSLib / BSplSLib.cdl
index 73c053d..b413650 100644 (file)
@@ -71,6 +71,8 @@ uses TColStd, gp, TColgp
 
 
 is 
+    
+    imported transient class Cache;
 
     imported EvaluatorFunction ;
     ---Purpose:
@@ -465,6 +467,19 @@ is
     --          
     --     
 
+    BuildCache(theU,           theV           : Real;
+               theUSpanDomain, theVSpanDomain : Real;
+               theUPeriodic,   theVPeriodic   : Boolean;
+               theUDegree,     theVDegree     : Integer;
+               theUIndex,      theVIndex      : Integer;
+               theUFlatKnots,  theVFlatKnots  : Array1OfReal  from TColStd;
+               thePoles                       : Array2OfPnt   from TColgp;
+               theWeights                     : Array2OfReal  from TColStd;
+               theCacheArray           : in out Array2OfReal  from TColStd);
+    ---Purpose: Perform the evaluation of the Taylor expansion
+    --          of the Bspline normalized between 0 and 1.
+    --          Structure of result optimized for BSplSLib_Cache.
+
     CacheD0(U,V                             : Real;
            UDegree,VDegree                 : Integer;
             UCacheParameter,VCacheParameter : Real;